adding Ludo's gnunet-download-manager.scm back to SVN HEAD
[oweals/gnunet.git] / src / core / core_api.c
index 281a851e05411a5b58bbee639de84a4ff6cea244..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;
       }