fix output of hostname by gnunet-gns
authorChristian Grothoff <christian@grothoff.org>
Thu, 8 Mar 2018 13:24:22 +0000 (14:24 +0100)
committerChristian Grothoff <christian@grothoff.org>
Thu, 8 Mar 2018 13:24:22 +0000 (14:24 +0100)
src/gns/gnunet-gns.c

index 32cfba5bbf5153d70caaa0f5d10038365037faec..771a7dcc8e74d4d45ce9ecc6841dd6d4dda8b356 100644 (file)
@@ -180,7 +180,7 @@ run (void *cls,
   (void) cls;
   (void) args;
   (void) cfgfile;
-  
+
   cfg = c;
   gns = GNUNET_GNS_connect (cfg);
   if (NULL == gns)
@@ -190,7 +190,7 @@ run (void *cls,
     global_ret = 2;
     return;
   }
-  
+
   GNUNET_SCHEDULER_add_shutdown (&do_shutdown,
                                  NULL);
 
@@ -209,13 +209,13 @@ run (void *cls,
                                   rtype,
                                   local_options,
                                   &process_lookup_result,
-                                  NULL);
+                                  lookup_name);
   if (NULL == lr)
   {
     global_ret = 2;
     GNUNET_SCHEDULER_shutdown ();
     return;
-  }  
+  }
 }