fixes
authorChristian Grothoff <christian@grothoff.org>
Fri, 15 Jan 2010 16:36:45 +0000 (16:36 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 15 Jan 2010 16:36:45 +0000 (16:36 +0000)
src/transport/plugin_transport_tcp.c

index 6a0874656ffac744faf476c53d7a34b139d42313..9fc33cbfa70726ae6078b48a4504d1f2da45754b 100644 (file)
@@ -625,8 +625,8 @@ static void
 process_pending_messages (struct Session *session)
 {
   GNUNET_assert (session->client != NULL);
-  if (session->pending_messages == NULL)
-    return;
+  if (session->pending_messages == NULL)    
+    return;    
   if (session->transmit_handle != NULL)
     return;
   session->transmit_handle
@@ -1186,8 +1186,7 @@ tcp_plugin_cancel (void *cls,
 #if DEBUG_TCP
   GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
                   "tcp",
-                  "Asked to cancel session %p with `%4s'\n",
-                  plugin_context,
+                  "Asked to cancel session with `%4s'\n",
                   GNUNET_i2s(target));
 #endif
   pm = session->pending_messages;