- moved timeout handling responsibility from for nat tests from caller to the library
[oweals/gnunet.git] / src / namecache / gnunet-namecache.c
index c429d394dcd2d6dbec9df40d4a2cfea97cfa3aca..4215af642b090db5e269fec1954886143400e279 100644 (file)
@@ -197,6 +197,14 @@ run (void *cls, char *const *args, const char *cfgfile,
     GNUNET_SCHEDULER_shutdown ();
     return;
   }
+  if (NULL == name)
+  {
+    fprintf (stderr,
+             _("You must specify a name\n"));
+    return;
+  }
+
+
   GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
                                 &do_shutdown,
                                 NULL);