fix as found by LRN
authorChristian Grothoff <christian@grothoff.org>
Fri, 31 Dec 2010 08:56:09 +0000 (08:56 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 31 Dec 2010 08:56:09 +0000 (08:56 +0000)
src/fs/gnunet-search.c

index dddfe6b75cfc7a2af0d5438b80469ee0266ac93f..c3ca937133b6dd5695ef45bbb3a3384b5dfb1b1a 100644 (file)
@@ -300,7 +300,7 @@ main (int argc, char *const *argv)
      1, &GNUNET_GETOPT_set_uint, &anonymity},
     {'n', "no-network", NULL,
      gettext_noop ("only search the local peer (no P2P network search)"),
-     1, &GNUNET_GETOPT_set_uint, &local_only},
+     0, &GNUNET_GETOPT_set_one, &local_only},
     {'o', "output", "PREFIX",
      gettext_noop
      ("write search results to file starting with PREFIX"),