summaryrefslogtreecommitdiff
path: root/src/tools/echo
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-06-17 10:51:18 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-06-17 10:51:18 +0200
commita2fb329778938f769121855c8a11aa3bfb30b194 (patch)
tree0abf4e18a593de01fc00d38910736da8b418180d /src/tools/echo
parent1c62c4554cb74e48f676b9d19a49d26eadee72c7 (diff)
parent1d196cfc0d87b6fd41ba15a3a7d17669711ed202 (diff)
downloadouroboros-a2fb329778938f769121855c8a11aa3bfb30b194.tar.gz
ouroboros-a2fb329778938f769121855c8a11aa3bfb30b194.zip
Merged in dstaesse/ouroboros/be-cleanup-flows (pull request #128)
ipcpd: fixed missing unlock in shim UDP
Diffstat (limited to 'src/tools/echo')
-rw-r--r--src/tools/echo/echo_client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/echo/echo_client.c b/src/tools/echo/echo_client.c
index 499e36ee..f006273c 100644
--- a/src/tools/echo/echo_client.c
+++ b/src/tools/echo/echo_client.c
@@ -34,7 +34,6 @@ int client_main()
fd = flow_alloc("echo", NULL, NULL);
if (fd < 0) {
printf("Failed to allocate flow.\n");
- ap_fini();
return -1;
}
@@ -42,14 +41,12 @@ int client_main()
if (result < 0) {
printf("Flow allocation refused.\n");
flow_dealloc(fd);
- ap_fini();
return -1;
}
if (flow_write(fd, message, strlen(message) + 1) == -1) {
printf("Failed to write SDU.\n");
flow_dealloc(fd);
- ap_fini();
return -1;
}
@@ -57,7 +54,6 @@ int client_main()
if (count < 0) {
printf("Failed to read SDU.\n");
flow_dealloc(fd);
- ap_fini();
return -1;
}