gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32234 - gnunet/src/dht


From: gnunet
Subject: [GNUnet-SVN] r32234 - gnunet/src/dht
Date: Wed, 5 Feb 2014 18:24:29 +0100

Author: bartpolot
Date: 2014-02-05 18:24:29 +0100 (Wed, 05 Feb 2014)
New Revision: 32234

Modified:
   gnunet/src/dht/gnunet-service-dht_neighbours.c
Log:
- log FULL keys on mismatch

Modified: gnunet/src/dht/gnunet-service-dht_neighbours.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_neighbours.c      2014-02-05 17:24:28 UTC 
(rev 32233)
+++ gnunet/src/dht/gnunet-service-dht_neighbours.c      2014-02-05 17:24:29 UTC 
(rev 32234)
@@ -1669,11 +1669,11 @@
   case GNUNET_YES:
     if (0 != memcmp (&test_key, &put->key, sizeof (struct GNUNET_HashCode)))
     {
-      char *put_s = GNUNET_strdup (GNUNET_h2s (&put->key));
+      char *put_s = GNUNET_strdup (GNUNET_h2s_full (&put->key));
       GNUNET_break_op (0);
       GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                   "PUT with key `%s' for block with key %s\n",
-                  put_s, GNUNET_h2s (&test_key));
+                  put_s, GNUNET_h2s_full (&test_key));
       GNUNET_free (put_s);
       return GNUNET_YES;
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]