gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r10121 - gnunet/src/core


From: gnunet
Subject: [GNUnet-SVN] r10121 - gnunet/src/core
Date: Fri, 22 Jan 2010 18:02:54 +0100

Author: grothoff
Date: 2010-01-22 18:02:53 +0100 (Fri, 22 Jan 2010)
New Revision: 10121

Modified:
   gnunet/src/core/core_api.c
Log:
fix

Modified: gnunet/src/core/core_api.c
===================================================================
--- gnunet/src/core/core_api.c  2010-01-22 16:55:16 UTC (rev 10120)
+++ gnunet/src/core/core_api.c  2010-01-22 17:02:53 UTC (rev 10121)
@@ -92,11 +92,6 @@
   struct GNUNET_CLIENT_Connection *client_notifications;
 
   /**
-   * Our connection to the service for normal requests.
-   */
-  struct GNUNET_CLIENT_Connection *client_requests;
-
-  /**
    * Handle for our current transmission request.
    */
   struct GNUNET_CLIENT_TransmitHandle *th;
@@ -362,7 +357,7 @@
       GNUNET_SCHEDULER_cancel (h->sched, th->timeout_task);
       th->timeout_task = GNUNET_SCHEDULER_NO_TASK;
     }
-  h->th = GNUNET_CLIENT_notify_transmit_ready (h->client_requests,
+  h->th = GNUNET_CLIENT_notify_transmit_ready (h->client_notifications,
                                                th->msize,
                                                
GNUNET_TIME_absolute_get_remaining
                                                (th->timeout), 
@@ -799,8 +794,6 @@
   if (handle->reconnect_task != GNUNET_SCHEDULER_NO_TASK)
     GNUNET_SCHEDULER_cancel (handle->sched, handle->reconnect_task);
   GNUNET_CLIENT_disconnect (handle->client_notifications);
-  if (handle->client_requests != NULL)
-    GNUNET_CLIENT_disconnect (handle->client_requests);
   GNUNET_free_non_null (handle->solicit_buffer);
   GNUNET_free (handle);
 }





reply via email to

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