aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-04-20 08:19:03 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-04-20 08:19:03 +0000
commit442b1d33c81681e20ed9684b8503ff9471fca38c (patch)
tree36e73d330a1a86c078f4a532f4dd02347c32363a /src/transport/plugin_transport_tcp.c
parentd0d88da8754bd5184be826dc4d271c5abeece0c5 (diff)
downloadgnunet-442b1d33c81681e20ed9684b8503ff9471fca38c.tar.gz
gnunet-442b1d33c81681e20ed9684b8503ff9471fca38c.zip
SHUTDOWN
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index fb65e1eb2..9dc67dcdf 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -2336,7 +2336,7 @@ tcp_plugin_server_read (void *cls,
2336 struct TCPProbeContext *tcp_probe_ctx; 2336 struct TCPProbeContext *tcp_probe_ctx;
2337 struct GNUNET_CONNECTION_Handle *sock; 2337 struct GNUNET_CONNECTION_Handle *sock;
2338 2338
2339 if (tc->reason == GNUNET_SCHEDULER_REASON_SHUTDOWN) 2339 if ( (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0)
2340 return; 2340 return;
2341 memset (mybuf, 0, sizeof(mybuf)); 2341 memset (mybuf, 0, sizeof(mybuf));
2342 bytes = GNUNET_DISK_file_read(plugin->server_stdout_handle, 2342 bytes = GNUNET_DISK_file_read(plugin->server_stdout_handle,