-fix #2070
authorChristian Grothoff <christian@grothoff.org>
Tue, 17 Jan 2012 15:40:06 +0000 (15:40 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 17 Jan 2012 15:40:06 +0000 (15:40 +0000)
src/mesh/gnunet-service-mesh.c

index c67c8ceb863d62a96ce03c759784190c3c35a05e..983aeae9c35d7f1bc610ef88b69894fea507748f 100644 (file)
@@ -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);