summaryrefslogtreecommitdiff
path: root/ecp/server
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/server')
-rw-r--r--ecp/server/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ecp/server/server.c b/ecp/server/server.c
index bbe7c4e..d34fb19 100644
--- a/ecp/server/server.c
+++ b/ecp/server/server.c
@@ -67,7 +67,7 @@ static void conn_free(ECPConnection *conn) {
int ecp_init(ECPContext *ctx, ECPConnHandler *vconn_handler, ECPConnHandler *vlink_handler) {
int rv;
- rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free);
+ rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free, NULL);
if (rv) return rv;
rv = ecp_vconn_handler_init(ctx, vconn_handler);
@@ -125,7 +125,6 @@ int main(int argc, char *argv[]) {
exit(1);
}
-
rv = ecp_addr_init(&addr, argv[3]);
if (rv) {
fprintf(stderr, "ecp_addr_init RV:%d\n", rv);