gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r23486 - gnunet/src/transport
Date: Wed, 29 Aug 2012 09:20:33 +0200

Author: wachs
Date: 2012-08-29 09:20:33 +0200 (Wed, 29 Aug 2012)
New Revision: 23486

Modified:
   gnunet/src/transport/plugin_transport_http_client.c
Log:
coverity 10259

Modified: gnunet/src/transport/plugin_transport_http_client.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_client.c 2012-08-29 07:18:32 UTC 
(rev 23485)
+++ gnunet/src/transport/plugin_transport_http_client.c 2012-08-29 07:20:33 UTC 
(rev 23486)
@@ -428,13 +428,14 @@
 client_delete_session (struct Session *s)
 {
   struct HTTP_Client_Plugin *plugin = s->plugin;
-  struct HTTP_Message *pos = s->msg_head;
-  struct HTTP_Message *next = NULL;
+  struct HTTP_Message *pos;
+  struct HTTP_Message *next;
 
   client_stop_session_timeout (s);
 
   GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s);
 
+  next = s->msg_head;
   while (NULL != (pos = next))
   {
     next = pos->next;




reply via email to

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