diff options
author | Sander Vrijders <[email protected]> | 2017-02-24 16:03:28 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-02-24 16:03:28 +0100 |
commit | cdab533860ba69423695e1d08acc25b074a0e065 (patch) | |
tree | 96779e5d2cdf964432506f774d5bf61d11b27d68 /src/tools/echo | |
parent | 75cf809a95b75f09ff805b3872dcb71b80fef586 (diff) | |
download | ouroboros-cdab533860ba69423695e1d08acc25b074a0e065.tar.gz ouroboros-cdab533860ba69423695e1d08acc25b074a0e065.zip |
lib: Remove application entity name
The AE name should not be passed over the layer boundaries. If an
application has more than one AE it should exchange this in CACEP.
Diffstat (limited to 'src/tools/echo')
-rw-r--r-- | src/tools/echo/echo_client.c | 2 | ||||
-rw-r--r-- | src/tools/echo/echo_server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/echo/echo_client.c b/src/tools/echo/echo_client.c index 783188d5..3036d338 100644 --- a/src/tools/echo/echo_client.c +++ b/src/tools/echo/echo_client.c @@ -30,7 +30,7 @@ int client_main(void) char * message = "Client says hi!"; ssize_t count = 0; - fd = flow_alloc("echo", NULL, NULL); + fd = flow_alloc("echo", NULL); if (fd < 0) { printf("Failed to allocate flow.\n"); return -1; diff --git a/src/tools/echo/echo_server.c b/src/tools/echo/echo_server.c index 8940a0b5..94c54eee 100644 --- a/src/tools/echo/echo_server.c +++ b/src/tools/echo/echo_server.c @@ -50,7 +50,7 @@ int server_main(void) } while (true) { - client_fd = flow_accept(NULL, &qs); + client_fd = flow_accept(&qs); if (client_fd < 0) { printf("Failed to accept flow.\n"); break; |