[git commit master 1/1] nc: fix SEGV on -v when NC_EXTRA is off

Denys Vlasenko vda.linux at googlemail.com
Mon Nov 22 04:30:54 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=1e23f32453d8aa84c66c8f0bb9f753d68614d05a
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/nc_bloaty.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c
index 8594a67..3c622e5 100644
--- a/networking/nc_bloaty.c
+++ b/networking/nc_bloaty.c
@@ -766,7 +766,7 @@ int nc_main(int argc UNUSED_PARAM, char **argv)
 	getopt32(argv, "hnp:s:uvw:" IF_NC_SERVER("l")
 			IF_NC_EXTRA("i:o:z"),
 			&str_p, &str_s, &o_wait
-			IF_NC_EXTRA(, &str_i, &str_o, &o_verbose));
+			IF_NC_EXTRA(, &str_i, &str_o), &o_verbose);
 	argv += optind;
 #if ENABLE_NC_EXTRA
 	if (option_mask32 & OPT_i) /* line-interval time */
-- 
1.7.2.2



More information about the busybox-cvs mailing list