summaryrefslogtreecommitdiff
path: root/src/tools/operf
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-24 15:07:39 +0000
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2017-02-24 15:07:39 +0000
commit7baebbfc117e3b349f397d4675c49a582d13653a (patch)
tree96779e5d2cdf964432506f774d5bf61d11b27d68 /src/tools/operf
parent75cf809a95b75f09ff805b3872dcb71b80fef586 (diff)
parentcdab533860ba69423695e1d08acc25b074a0e065 (diff)
downloadouroboros-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/operf')
-rw-r--r--src/tools/operf/operf_client.c2
-rw-r--r--src/tools/operf/operf_server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/operf/operf_client.c b/src/tools/operf/operf_client.c
index 5b31e27b..0c943cf7 100644
--- a/src/tools/operf/operf_client.c
+++ b/src/tools/operf/operf_client.c
@@ -182,7 +182,7 @@ int client_main(void)
client.sent = 0;
client.rcvd = 0;
- fd = flow_alloc(client.s_apn, NULL, NULL);
+ fd = flow_alloc(client.s_apn, NULL);
if (fd < 0) {
printf("Failed to allocate flow.\n");
return -1;
diff --git a/src/tools/operf/operf_server.c b/src/tools/operf/operf_server.c
index 3c3b9788..f23b52f3 100644
--- a/src/tools/operf/operf_server.c
+++ b/src/tools/operf/operf_server.c
@@ -108,7 +108,7 @@ void * accept_thread(void * o)
printf("Ouroboros perf server started.\n");
while (true) {
- fd = flow_accept(NULL, &qs);
+ fd = flow_accept(&qs);
if (fd < 0) {
printf("Failed to accept flow.\n");
break;