From: Christian Grothoff Date: Mon, 21 Mar 2011 15:02:08 +0000 (+0000) Subject: assert for cs X-Git-Tag: initial-import-from-subversion-38251~18938 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f3d6f52b18d534c01536e7e13d6f084ffc68f22d;p=oweals%2Fgnunet.git assert for cs --- diff --git a/src/fs/gnunet-service-fs_pe.c b/src/fs/gnunet-service-fs_pe.c index 7caf373d0..00dd41f2a 100644 --- a/src/fs/gnunet-service-fs_pe.c +++ b/src/fs/gnunet-service-fs_pe.c @@ -245,6 +245,7 @@ schedule_peer_transmission (void *cls, } /* process from priority heap */ rp = GNUNET_CONTAINER_heap_peek (pp->priority_heap); + GNUNET_assert (NULL != rp); prd = GSF_pending_request_get_data_ (rp->pr); msize = GSF_pending_request_get_message_ (rp->pr, 0, NULL); pp->pth = GSF_peer_transmit_ (pp->cp,