gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r11746 - gnunet/src/transport
Date: Mon, 14 Jun 2010 16:32:36 +0200

Author: wachs
Date: 2010-06-14 16:32:36 +0200 (Mon, 14 Jun 2010)
New Revision: 11746

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-14 14:22:10 UTC 
(rev 11745)
+++ gnunet/src/transport/plugin_transport_http.c        2010-06-14 14:32:36 UTC 
(rev 11746)
@@ -968,6 +968,7 @@
 static void send_execute (void *cls,
              const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
+
   int running;
   struct CURLMsg *msg;
   CURLMcode mret;
@@ -1018,8 +1019,6 @@
                   {
                     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                                 "Send to peer `%s' completed.\n", 
GNUNET_i2s(&cs->sender));
-                    if (GNUNET_OK != remove_http_message(cs, 
cs->pending_outbound_msg))
-                      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Message could not 
be removed from session `%s'", GNUNET_i2s(&cs->sender));
 
                     curl_easy_cleanup(cs->curl_handle);
                     cs->curl_handle=NULL;
@@ -1028,6 +1027,8 @@
                     if (( NULL != cs->pending_outbound_msg) && (NULL != 
cs->pending_outbound_msg->transmit_cont))
                       cs->pending_outbound_msg->transmit_cont 
(cs->pending_outbound_msg->transmit_cont_cls,&cs->sender,GNUNET_OK);
 
+                    if (GNUNET_OK != remove_http_message(cs, 
cs->pending_outbound_msg))
+                      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Message could not 
be removed from session `%s'", GNUNET_i2s(&cs->sender));
 
                     /* send pending messages */
                     if (cs->pending_outbound_msg != NULL)




reply via email to

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