diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-01-31 16:49:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-01-31 16:49:21 +0000 |
commit | 5af3181a70b7ec8ac792507ffa9eab581cc03470 (patch) | |
tree | 707c3c2fd88d48921e04cf4e4547f294398780bd /src/fs/gnunet-download.c | |
parent | 255bb14309e03388deb41bd23458e29ebf17c2af (diff) | |
download | gnunet-5af3181a70b7ec8ac792507ffa9eab581cc03470.tar.gz gnunet-5af3181a70b7ec8ac792507ffa9eab581cc03470.zip |
fix crash bug with -n
Diffstat (limited to 'src/fs/gnunet-download.c')
-rw-r--r-- | src/fs/gnunet-download.c | 2 |
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}, |