gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7323 - GNUnet/src/applications/dht/tools


From: gnunet
Subject: [GNUnet-SVN] r7323 - GNUnet/src/applications/dht/tools
Date: Wed, 25 Jun 2008 04:21:33 -0600 (MDT)

Author: holindho
Date: 2008-06-25 04:21:33 -0600 (Wed, 25 Jun 2008)
New Revision: 7323

Modified:
   GNUnet/src/applications/dht/tools/dht-query.c
Log:
fix


Modified: GNUnet/src/applications/dht/tools/dht-query.c
===================================================================
--- GNUnet/src/applications/dht/tools/dht-query.c       2008-06-24 18:33:35 UTC 
(rev 7322)
+++ GNUnet/src/applications/dht/tools/dht-query.c       2008-06-25 10:21:33 UTC 
(rev 7323)
@@ -86,9 +86,9 @@
   if (timeout == 0)
     timeout = 30 * GNUNET_CRON_SECONDS;
   ret = GNUNET_DHT_get_start (ctx, GNUNET_ECRS_BLOCKTYPE_DHT_STRING2STRING,
-                              (void *) key);
-  if (ret == 0)
-    printf (_("%s(%s) operation returned no results.\n"), "get", key);
+                              &hc);
+  if (ret == GNUNET_SYSERR)
+    printf (_("%s(%s) failed.\n"), "get", key);
 }
 
 static void





reply via email to

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