diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-04-20 08:19:03 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-04-20 08:19:03 +0000 |
commit | 442b1d33c81681e20ed9684b8503ff9471fca38c (patch) | |
tree | 36e73d330a1a86c078f4a532f4dd02347c32363a /src/transport/plugin_transport_unix.c | |
parent | d0d88da8754bd5184be826dc4d271c5abeece0c5 (diff) | |
download | gnunet-442b1d33c81681e20ed9684b8503ff9471fca38c.tar.gz gnunet-442b1d33c81681e20ed9684b8503ff9471fca38c.zip |
SHUTDOWN
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 0163a8e5b..d9b666f77 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -476,7 +476,7 @@ void retry_send_message (void *cls, | |||
476 | { | 476 | { |
477 | struct RetrySendContext *retry_ctx = cls; | 477 | struct RetrySendContext *retry_ctx = cls; |
478 | 478 | ||
479 | if (tc->reason == GNUNET_SCHEDULER_REASON_SHUTDOWN) | 479 | if ( (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0) |
480 | { | 480 | { |
481 | GNUNET_free(retry_ctx->msg); | 481 | GNUNET_free(retry_ctx->msg); |
482 | GNUNET_free(retry_ctx->addr); | 482 | GNUNET_free(retry_ctx->addr); |
@@ -817,7 +817,7 @@ unix_plugin_select (void *cls, | |||
817 | uint16_t csize; | 817 | uint16_t csize; |
818 | 818 | ||
819 | plugin->select_task = GNUNET_SCHEDULER_NO_TASK; | 819 | plugin->select_task = GNUNET_SCHEDULER_NO_TASK; |
820 | if (tc->reason == GNUNET_SCHEDULER_REASON_SHUTDOWN) | 820 | if ( (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0) |
821 | return; | 821 | return; |
822 | 822 | ||
823 | addrlen = sizeof(un); | 823 | addrlen = sizeof(un); |