[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23776 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23776 - gnunet/src/dht |
Date: |
Fri, 14 Sep 2012 10:19:23 +0200 |
Author: wachs
Date: 2012-09-14 10:19:23 +0200 (Fri, 14 Sep 2012)
New Revision: 23776
Modified:
gnunet/src/dht/gnunet-dht-put.c
Log:
- print key when put
Modified: gnunet/src/dht/gnunet-dht-put.c
===================================================================
--- gnunet/src/dht/gnunet-dht-put.c 2012-09-14 08:13:27 UTC (rev 23775)
+++ gnunet/src/dht/gnunet-dht-put.c 2012-09-14 08:19:23 UTC (rev 23776)
@@ -32,6 +32,11 @@
static unsigned int query_type;
/**
+ * The key used in the DHT
+ */
+struct GNUNET_HashCode key;
+
+/**
* The key for the query
*/
static char *query_key;
@@ -105,7 +110,7 @@
switch (success)
{
case GNUNET_OK:
- FPRINTF (stderr, "%s", _("PUT request sent!\n"));
+ FPRINTF (stderr, "%s `%s'!\n", _("PUT request sent with key"),
GNUNET_h2s_full(&key));
break;
case GNUNET_NO:
FPRINTF (stderr, "%s", _("Timeout sending PUT request!\n"));
@@ -135,7 +140,6 @@
{
struct GNUNET_TIME_Relative timeout;
struct GNUNET_TIME_Absolute expiration;
- struct GNUNET_HashCode key;
cfg = c;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23776 - gnunet/src/dht,
gnunet <=