set: fix make check
authorFlorian Dold <florian.dold@gmail.com>
Tue, 28 Feb 2017 19:10:39 +0000 (20:10 +0100)
committerFlorian Dold <florian.dold@gmail.com>
Tue, 28 Feb 2017 19:10:39 +0000 (20:10 +0100)
src/set/gnunet-service-set.c

index b0f8b209186c1ee4a89036ddb2f04b06df2638bd..454ad9784340715fddc7f369c573724f4464ca57 100644 (file)
@@ -672,11 +672,12 @@ client_disconnect_cb (void *cls,
                 "Client's set destroyed\n");
   }
   struct Listener *listener = listener_get (client);
-  struct Operation *op = incoming_head;
   if (NULL != listener)
   {
     /* destroy all incoming operations whose client just
      * got destroyed */
+    //struct Operation *op = incoming_head;
+    /*
     while (NULL != op)
     {
       struct Operation *curr = op;
@@ -685,6 +686,7 @@ client_disconnect_cb (void *cls,
            (curr->listener == listener) )
         incoming_destroy (curr);
     }
+    */
     listener->client = NULL;
     listener_destroy (listener);
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,