From 6f347ef9dc540aaea025c0575e586817cd85cc8e Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Sat, 15 Oct 2005 10:23:55 +0000 Subject: common BUFSIZ BSS buffer, small reduce code, data and bss --- networking/nc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'networking') diff --git a/networking/nc.c b/networking/nc.c index 8f641ae4f..fda1fb8f6 100644 --- a/networking/nc.c +++ b/networking/nc.c @@ -48,7 +48,9 @@ static void timeout(int signum) int nc_main(int argc, char **argv) { int do_listen = 0, lport = 0, delay = 0, wsecs = 0, tmpfd, opt, sfd, x; - char buf[BUFSIZ]; + +#define buf bb_common_bufsiz1 + #ifdef CONFIG_NC_GAPING_SECURITY_HOLE char *pr00gie = NULL; #endif -- cgit v1.2.3