LRN: This is likely a typo. I caught it, because GNUNET_assert() is now a
authorChristian Grothoff <christian@grothoff.org>
Sat, 5 Nov 2011 14:46:08 +0000 (14:46 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 5 Nov 2011 14:46:08 +0000 (14:46 +0000)
function that takes 'int', but the argument was a pointer.

src/core/core_api.c

index f3f4cea540d7257b2cd651aab3b79995cc0d9625..09a5c54a8f461f4404a3e3658f126fe4ed1002c3 100644 (file)
@@ -421,7 +421,7 @@ disconnect_and_free_peer_entry (void *cls, const GNUNET_HashCode * key,
                  GNUNET_CONTAINER_multihashmap_remove (h->peers, key, pr));
   GNUNET_assert (pr->pending_head == NULL);
   GNUNET_assert (pr->pending_tail == NULL);
-  GNUNET_assert (pr->ch = h);
+  GNUNET_assert (pr->ch == h);
   GNUNET_assert (pr->queue_size == 0);
   GNUNET_assert (pr->timeout_task == GNUNET_SCHEDULER_NO_TASK);
   GNUNET_assert (pr->ntr_task == GNUNET_SCHEDULER_NO_TASK);