diff options
author | Sander Vrijders <[email protected]> | 2017-02-24 15:07:39 +0000 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-02-24 15:07:39 +0000 |
commit | 7baebbfc117e3b349f397d4675c49a582d13653a (patch) | |
tree | 96779e5d2cdf964432506f774d5bf61d11b27d68 /src/tools/cbr | |
parent | 75cf809a95b75f09ff805b3872dcb71b80fef586 (diff) | |
parent | cdab533860ba69423695e1d08acc25b074a0e065 (diff) | |
download | ouroboros-7baebbfc117e3b349f397d4675c49a582d13653a.tar.gz ouroboros-7baebbfc117e3b349f397d4675c49a582d13653a.zip |
Merged in sandervrijders/ouroboros/be-ae (pull request #392)
lib: Remove application entity name
Diffstat (limited to 'src/tools/cbr')
-rw-r--r-- | src/tools/cbr/cbr_client.c | 2 | ||||
-rw-r--r-- | src/tools/cbr/cbr_server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/cbr/cbr_client.c b/src/tools/cbr/cbr_client.c index 173dab24..48a18cd1 100644 --- a/src/tools/cbr/cbr_client.c +++ b/src/tools/cbr/cbr_client.c @@ -90,7 +90,7 @@ int client_main(char * server, printf("Client started, duration %d, rate %lu b/s, size %d B.\n", duration, rate, size); - fd = flow_alloc(server, NULL, NULL); + fd = flow_alloc(server, NULL); if (fd < 0) { printf("Failed to allocate flow.\n"); return -1; diff --git a/src/tools/cbr/cbr_server.c b/src/tools/cbr/cbr_server.c index 7105ff09..b0be9d7b 100644 --- a/src/tools/cbr/cbr_server.c +++ b/src/tools/cbr/cbr_server.c @@ -164,7 +164,7 @@ static void * listener(void * o) server_settings.interval, server_settings.timeout); while (true) { - client_fd = flow_accept(NULL, &qs); + client_fd = flow_accept(&qs); if (client_fd < 0) { printf("Failed to accept flow.\n"); break; |