aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
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,