From: Christian Grothoff Date: Wed, 14 Mar 2012 15:05:17 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~14265 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3cac797cab78c3c3cd874388d775f3fdeb3e31e1;p=oweals%2Fgnunet.git -fix --- diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index 5ce837caa..c58d58fd1 100644 --- 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"),