diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/cbr/cbr_client.c | 2 | ||||
-rw-r--r-- | src/tools/echo/echo_client.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/tools/cbr/cbr_client.c b/src/tools/cbr/cbr_client.c index 1cc325b8..af766599 100644 --- a/src/tools/cbr/cbr_client.c +++ b/src/tools/cbr/cbr_client.c @@ -60,7 +60,6 @@ int client_main(char * server, fd = flow_alloc(server, NULL, NULL); if (fd < 0) { printf("Failed to allocate flow.\n"); - ap_fini(); return -1; } @@ -68,7 +67,6 @@ int client_main(char * server, if (result < 0) { printf("Flow allocation refused.\n"); flow_dealloc(fd); - ap_fini(); return -1; } 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; } |