summaryrefslogtreecommitdiff
path: root/src/tools/echo/echo_server.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-08-09 11:23:36 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-08-09 11:23:36 +0200
commit1dde324905796df4d7e468d7f0de027bb8dcedae (patch)
tree5f55b8d82826fc182c9408350200b7ecaa932a27 /src/tools/echo/echo_server.c
parent2bb767b785217fb6f86ce0242f13b2aa59920dbe (diff)
parent18e440197cae6d537765a4de6a915f074dce4de5 (diff)
downloadouroboros-1dde324905796df4d7e468d7f0de027bb8dcedae.tar.gz
ouroboros-1dde324905796df4d7e468d7f0de027bb8dcedae.zip
Merged in dstaesse/ouroboros/be-bugfixing (pull request #191)
Bugfixes
Diffstat (limited to 'src/tools/echo/echo_server.c')
-rw-r--r--src/tools/echo/echo_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/echo/echo_server.c b/src/tools/echo/echo_server.c
index c5e9f807..e6ab9cfd 100644
--- a/src/tools/echo/echo_server.c
+++ b/src/tools/echo/echo_server.c
@@ -62,7 +62,7 @@ int server_main()
continue;
}
- count = flow_read(client_fd, (void **) &buf, BUF_SIZE);
+ count = flow_read(client_fd, &buf, BUF_SIZE);
if (count < 0) {
printf("Failed to read SDU.\n");
flow_dealloc(client_fd);