Adding a function pick_random_friend ()
[oweals/gnunet.git] / src / dht / gnunet-dht-get.c
index 345a58a13515156cb34d4de852cde1700b201b3f..db4d43fe79d777d58504e8ca8263bd3c5cbaddb4 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -26,6 +26,7 @@
 #include "platform.h"
 #include "gnunet_dht_service.h"
 
+#define LOG(kind,...) GNUNET_log_from (kind, "dht-clients",__VA_ARGS__)
 /**
  * The type of the query
  */
@@ -128,8 +129,8 @@ get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
                      unsigned int put_path_length, enum GNUNET_BLOCK_Type type,
                      size_t size, const void *data)
 {
-  FPRINTF (stdout, 
-          _("Result %d, type %d:\n%.*s\n"), 
+  FPRINTF (stdout,
+          _("Result %d, type %d:\n%.*s\n"),
           result_count, type,
            (unsigned int) size, (char *) data);
   result_count++;
@@ -150,6 +151,8 @@ run (void *cls, char *const *args, const char *cfgfile,
 {
   struct GNUNET_HashCode key;
 
+
+
   cfg = c;
   if (NULL == query_key)
   {