adding Ludo's gnunet-download-manager.scm back to SVN HEAD
[oweals/gnunet.git] / src / core / core_api.c
index a279874d7a10c3893947f277fcd39b082c3bb457..66df134fb1acaf7c5ace5f77f1f02c79a954bf14 100644 (file)
@@ -984,8 +984,8 @@ main_notify_handler (void *cls, const struct GNUNET_MessageHeader *msg)
       if ((mh->expected_size != ntohs (em->size)) && (mh->expected_size != 0))
       {
         GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                    "Unexpected message size for message of type %u\n",
-                    mh->type);
+                    "Unexpected message size %u for message of type %u from peer `%4s'\n",
+                    htons (em->size), mh->type, GNUNET_i2s (&ntm->peer));
         GNUNET_break_op (0);
         continue;
       }
@@ -1424,8 +1424,8 @@ GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle, int cork,
   }
 
   /* Order entries by deadline, but SKIP 'HEAD' (as we may have transmitted
-     that request already or might even already be approved to transmit that
-     message to core) */
+   * that request already or might even already be approved to transmit that
+   * message to core) */
   pos = pr->pending_head;
   if (pos != NULL)
     pos = pos->next;            /* skip head */