aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-11-22 05:30:54 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-11-22 05:30:54 +0100
commit1e23f32453d8aa84c66c8f0bb9f753d68614d05a (patch)
tree5c22b3fe2b3a3faee909f775613d9b830ceb8829
parenta945f6190b9ffdd316e8590c0b4fcb25dee7676e (diff)
downloadbusybox-w32-1e23f32453d8aa84c66c8f0bb9f753d68614d05a.tar.gz
busybox-w32-1e23f32453d8aa84c66c8f0bb9f753d68614d05a.tar.bz2
busybox-w32-1e23f32453d8aa84c66c8f0bb9f753d68614d05a.zip
nc: fix SEGV on -v when NC_EXTRA is off
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/nc_bloaty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c
index 8594a67a6..3c622e51e 100644
--- a/networking/nc_bloaty.c
+++ b/networking/nc_bloaty.c
@@ -766,7 +766,7 @@ int nc_main(int argc UNUSED_PARAM, char **argv)
766 getopt32(argv, "hnp:s:uvw:" IF_NC_SERVER("l") 766 getopt32(argv, "hnp:s:uvw:" IF_NC_SERVER("l")
767 IF_NC_EXTRA("i:o:z"), 767 IF_NC_EXTRA("i:o:z"),
768 &str_p, &str_s, &o_wait 768 &str_p, &str_s, &o_wait
769 IF_NC_EXTRA(, &str_i, &str_o, &o_verbose)); 769 IF_NC_EXTRA(, &str_i, &str_o), &o_verbose);
770 argv += optind; 770 argv += optind;
771#if ENABLE_NC_EXTRA 771#if ENABLE_NC_EXTRA
772 if (option_mask32 & OPT_i) /* line-interval time */ 772 if (option_mask32 & OPT_i) /* line-interval time */