aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-01-31 16:49:21 +0000
committerChristian Grothoff <christian@grothoff.org>2016-01-31 16:49:21 +0000
commit5af3181a70b7ec8ac792507ffa9eab581cc03470 (patch)
tree707c3c2fd88d48921e04cf4e4547f294398780bd
parent255bb14309e03388deb41bd23458e29ebf17c2af (diff)
downloadgnunet-5af3181a70b7ec8ac792507ffa9eab581cc03470.tar.gz
gnunet-5af3181a70b7ec8ac792507ffa9eab581cc03470.zip
fix crash bug with -n
-rw-r--r--src/fs/gnunet-download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-download.c b/src/fs/gnunet-download.c
index a0ea9698a..85afbe606 100644
--- a/src/fs/gnunet-download.c
+++ b/src/fs/gnunet-download.c
@@ -308,7 +308,7 @@ main (int argc, char *const *argv)
308 0, &GNUNET_GETOPT_set_one, &delete_incomplete}, 308 0, &GNUNET_GETOPT_set_one, &delete_incomplete},
309 {'n', "no-network", NULL, 309 {'n', "no-network", NULL,
310 gettext_noop ("only search the local peer (no P2P network search)"), 310 gettext_noop ("only search the local peer (no P2P network search)"),
311 0, &GNUNET_GETOPT_set_uint, &local_only}, 311 0, &GNUNET_GETOPT_set_one, &local_only},
312 {'o', "output", "FILENAME", 312 {'o', "output", "FILENAME",
313 gettext_noop ("write the file to FILENAME"), 313 gettext_noop ("write the file to FILENAME"),
314 1, &GNUNET_GETOPT_set_string, &filename}, 314 1, &GNUNET_GETOPT_set_string, &filename},