diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-01-15 16:36:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-01-15 16:36:45 +0000 |
commit | 478aaaa68357c14a6b688c26889e5919931a7e49 (patch) | |
tree | 9c0d904bda2ff1b043439fe8e0d5953d85f25ace | |
parent | 2ea6ea66581947fce7820357f9a260896ffd4199 (diff) | |
download | gnunet-478aaaa68357c14a6b688c26889e5919931a7e49.tar.gz gnunet-478aaaa68357c14a6b688c26889e5919931a7e49.zip |
fixes
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 6a0874656..9fc33cbfa 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -625,8 +625,8 @@ static void | |||
625 | process_pending_messages (struct Session *session) | 625 | process_pending_messages (struct Session *session) |
626 | { | 626 | { |
627 | GNUNET_assert (session->client != NULL); | 627 | GNUNET_assert (session->client != NULL); |
628 | if (session->pending_messages == NULL) | 628 | if (session->pending_messages == NULL) |
629 | return; | 629 | return; |
630 | if (session->transmit_handle != NULL) | 630 | if (session->transmit_handle != NULL) |
631 | return; | 631 | return; |
632 | session->transmit_handle | 632 | session->transmit_handle |
@@ -1186,8 +1186,7 @@ tcp_plugin_cancel (void *cls, | |||
1186 | #if DEBUG_TCP | 1186 | #if DEBUG_TCP |
1187 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, | 1187 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, |
1188 | "tcp", | 1188 | "tcp", |
1189 | "Asked to cancel session %p with `%4s'\n", | 1189 | "Asked to cancel session with `%4s'\n", |
1190 | plugin_context, | ||
1191 | GNUNET_i2s(target)); | 1190 | GNUNET_i2s(target)); |
1192 | #endif | 1191 | #endif |
1193 | pm = session->pending_messages; | 1192 | pm = session->pending_messages; |