summaryrefslogtreecommitdiff
path: root/src/tools/oping
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-22 13:23:22 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-22 13:23:22 +0100
commit9678e275ba0cdb80b5e9efb878fa996d75696a7d (patch)
treea5ed27e19598f984b7ad32033ff1e53cc6436336 /src/tools/oping
parent16a7f9a9c5ff9da44ecd323244a93f150003c57d (diff)
parentb3913bd7d7c1fb4cc82de750990d2111df2d9b2d (diff)
downloadouroboros-9678e275ba0cdb80b5e9efb878fa996d75696a7d.tar.gz
ouroboros-9678e275ba0cdb80b5e9efb878fa996d75696a7d.zip
Merge branch 'testing' into be
Diffstat (limited to 'src/tools/oping')
-rw-r--r--src/tools/oping/oping_server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/oping/oping_server.c b/src/tools/oping/oping_server.c
index d7294fa1..24cd9bf1 100644
--- a/src/tools/oping/oping_server.c
+++ b/src/tools/oping/oping_server.c
@@ -100,10 +100,8 @@ void * server_thread(void *o)
msg->type = htonl(ECHO_REPLY);
- if (flow_write(fd, buf, msg_len) < 0) {
+ if (flow_write(fd, buf, msg_len) < 0)
printf("Error writing to flow (fd %d).\n", fd);
- flow_dealloc(fd);
- }
}
}