From: Christian Grothoff Date: Tue, 17 Jan 2012 15:40:06 +0000 (+0000) Subject: -fix #2070 X-Git-Tag: initial-import-from-subversion-38251~15264 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6537c1d3e1e1cd4b76d2707ecb5ea37061e78331;p=oweals%2Fgnunet.git -fix #2070 --- diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index c67c8ceb8..983aeae9c 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -730,7 +730,7 @@ client_allow_send (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) #if MESH_DEBUG GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: CLIENT ALLOW SEND DESPITE %u COPIES PENDING\n", - *(info->copies)); + (info->copies != NULL) ? *(info->copies) : 0); #endif *(info->timeout_task) = GNUNET_SCHEDULER_NO_TASK; GNUNET_SERVER_receive_done (info->client, GNUNET_OK);