- Fixed compile errors
authorBart Polot <bart@net.in.tum.de>
Mon, 23 Apr 2012 07:42:01 +0000 (07:42 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 23 Apr 2012 07:42:01 +0000 (07:42 +0000)
src/chat/chat.c
src/dv/dv_api.c

index ae73b96a57e8a8793b9991581839be2a84ae33ce..72c49a063a86f89137ae5c975154f8dcee38fd40 100644 (file)
@@ -599,7 +599,7 @@ GNUNET_CHAT_leave_room (struct GNUNET_CHAT_Room *chat_room)
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Leaving the room '%s'\n",
               chat_room->room_name);
 #endif
-  GNUNET_CLIENT_disconnect (chat_room->client, GNUNET_NO);
+  GNUNET_CLIENT_disconnect (chat_room->client);
   GNUNET_free (chat_room->room_name);
   GNUNET_CONTAINER_meta_data_destroy (chat_room->member_info);
   GNUNET_CRYPTO_rsa_key_free (chat_room->my_private_key);
index 876282ea7e3e6077e669c51067ec5007d5a8de2c..93891ca1734f9d0deb3f109496a61ee0575f896e 100644 (file)
@@ -618,7 +618,7 @@ GNUNET_DV_disconnect (struct GNUNET_DV_Handle *handle)
   }
   if (handle->client != NULL)   /* Finally, disconnect from the service */
   {
-    GNUNET_CLIENT_disconnect (handle->client, GNUNET_NO);
+    GNUNET_CLIENT_disconnect (handle->client);
     handle->client = NULL;
   }