summaryrefslogtreecommitdiff
path: root/ecp/server
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2023-08-02 09:36:16 +0200
committerUros Majstorovic <majstor@majstor.org>2023-08-02 09:36:16 +0200
commitbf0ead55678a7c5ed3e11a1b500bb83e7facf722 (patch)
tree527a710ca472b65d59e00b591ba517eabfad048c /ecp/server
parentb57e45a19ba49efa1cb754c1e5258588405b7a30 (diff)
implemented ROS recommendations
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);