diff options
author | dimitri staessens <[email protected]> | 2016-03-24 19:52:01 +0100 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-03-24 19:52:01 +0100 |
commit | 545092a8eaa1a972a2bcaf1b532d74f21db1b623 (patch) | |
tree | becb621b18a37626728378576ffae4dd58b5290a /src/tools/echo/echo_server.c | |
parent | dd30bcdb1d440d812b47c0b998c8f120b271ea9b (diff) | |
parent | c32ccc39cfc793729890204c8d810eb7608f4474 (diff) | |
download | ouroboros-545092a8eaa1a972a2bcaf1b532d74f21db1b623.tar.gz ouroboros-545092a8eaa1a972a2bcaf1b532d74f21db1b623.zip |
Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be-shm
Diffstat (limited to 'src/tools/echo/echo_server.c')
-rw-r--r-- | src/tools/echo/echo_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/echo/echo_server.c b/src/tools/echo/echo_server.c index f9682ab7..289f537a 100644 --- a/src/tools/echo/echo_server.c +++ b/src/tools/echo/echo_server.c @@ -34,7 +34,7 @@ void shutdown_server(int signo) { char * dif = DIF_NAME; - if (ap_unreg(SERVER_AP_NAME, NULL, &dif, 1)) { + if (ap_unreg(SERVER_AP_NAME, &dif, 1)) { printf("Failed to unregister application\n"); exit(EXIT_FAILURE); } @@ -59,7 +59,7 @@ int server_main() return -1; } - server_fd = ap_reg(SERVER_AP_NAME, NULL, &dif, 1); + server_fd = ap_reg(SERVER_AP_NAME, &dif, 1); if (server_fd < 0) { printf("Failed to register application\n"); return -1; |