summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-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);