projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix segfault
[oweals/gnunet.git]
/
src
/
namestore
/
gnunet-namestore.c
diff --git
a/src/namestore/gnunet-namestore.c
b/src/namestore/gnunet-namestore.c
index 5ce837caa755aa88c559ea24066cc332fffcd114..c58d58fd1f50e685fcf702d33231e5b9b25f8e95 100644
(file)
--- a/
src/namestore/gnunet-namestore.c
+++ b/
src/namestore/gnunet-namestore.c
@@
-303,7
+303,8
@@
run (void *cls, char *const *args, const char *cfgfile,
fprintf (stderr, _("Unsupported type `%s'\n"), typestring);
GNUNET_SCHEDULER_shutdown ();
return;
- } else if (add | del)
+ }
+ if ((NULL == typestring) && (add | del))
{
fprintf (stderr,
_("Missing option `%s' for operation `%s'\n"),