log
authorChristian Grothoff <christian@grothoff.org>
Sun, 3 Apr 2011 12:17:09 +0000 (12:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 3 Apr 2011 12:17:09 +0000 (12:17 +0000)
src/core/core_api.c

index 44d72e913f8c8b05f914f60fd99c75b47d67d16b..185e09d65f93ed3d226c12e4e6da9e014f2969eb 100644 (file)
@@ -1561,6 +1561,10 @@ GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle,
          GNUNET_break (handle->queue_size != 0);
          GNUNET_break (pr->queue_size == 1);
          GNUNET_free(th);
+#if DEBUG_CORE
+         GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+                     "Dropping transmission request: cannot drop queue head and limit is one\n");
+#endif
          return NULL;
        }
       if (priority <= minp->priority)