projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- moved timeout handling responsibility from for nat tests from caller to the library
[oweals/gnunet.git]
/
src
/
namecache
/
gnunet-namecache.c
diff --git
a/src/namecache/gnunet-namecache.c
b/src/namecache/gnunet-namecache.c
index c429d394dcd2d6dbec9df40d4a2cfea97cfa3aca..4215af642b090db5e269fec1954886143400e279 100644
(file)
--- a/
src/namecache/gnunet-namecache.c
+++ b/
src/namecache/gnunet-namecache.c
@@
-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);