rps service: improve logging - log peer id
authorJulius Bünger <buenger@mytum.de>
Thu, 26 Jul 2018 14:53:51 +0000 (16:53 +0200)
committerJulius Bünger <buenger@mytum.de>
Thu, 26 Jul 2018 14:53:51 +0000 (16:53 +0200)
src/rps/gnunet-service-rps.c

index d6c6d0eccdc8b5d9071735ddd8ce5947de762d3f..8ea10e4cab2ec4dcdb9b4c1d82f50eba507ce663 100644 (file)
@@ -3447,7 +3447,8 @@ check_peer_pull_reply (void *cls,
   if (GNUNET_YES != Peers_check_peer_flag (sender, Peers_PULL_REPLY_PENDING))
   {
     LOG (GNUNET_ERROR_TYPE_WARNING,
-        "Received a pull reply from a peer we didn't request one from!\n");
+        "Received a pull reply from a peer (%s) we didn't request one from!\n",
+        GNUNET_i2s (sender));
     GNUNET_break_op (0);
     return GNUNET_SYSERR;
   }