gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11997 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r11997 - gnunet/src/transport
Date: Mon, 28 Jun 2010 09:27:05 +0200

Author: wachs
Date: 2010-06-28 09:27:05 +0200 (Mon, 28 Jun 2010)
New Revision: 11997

Modified:
   gnunet/src/transport/plugin_transport_http.c
Log:


Modified: gnunet/src/transport/plugin_transport_http.c
===================================================================
--- gnunet/src/transport/plugin_transport_http.c        2010-06-27 20:42:23 UTC 
(rev 11996)
+++ gnunet/src/transport/plugin_transport_http.c        2010-06-28 07:27:05 UTC 
(rev 11997)
@@ -1066,9 +1066,11 @@
                         con->pending_msgs_tail->transmit_cont 
(con->pending_msgs_tail->transmit_cont_cls,&cs->identity,GNUNET_SYSERR);
                     }
                   }
-
-                  if (GNUNET_OK != remove_http_message(con, 
con->pending_msgs_tail))
+                  if (con->pending_msgs_tail != NULL)
+                  {
+                    remove_http_message(con, con->pending_msgs_tail);
                     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Message could not be 
removed from session `%s'", GNUNET_i2s(&cs->identity));
+                  }
                   return;
                 default:
                   break;
@@ -1180,7 +1182,7 @@
 {
   struct Plugin *plugin = cls;
   char *address;
-  char *url;
+  char *url = NULL;
 
   GNUNET_assert ((addr!=NULL) && (addrlen != 0));
   if (addrlen == (sizeof (struct IPv4HttpAddress)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]