aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 10:23:55 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 10:23:55 +0000
commit6f347ef9dc540aaea025c0575e586817cd85cc8e (patch)
tree5fc98f67e92bb2eca75d33940a4f8698bb216f3a /networking
parent84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff)
downloadbusybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz
busybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.bz2
busybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.zip
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'networking')
-rw-r--r--networking/nc.c4
1 files changed, 3 insertions, 1 deletions
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)
48int nc_main(int argc, char **argv) 48int nc_main(int argc, char **argv)
49{ 49{
50 int do_listen = 0, lport = 0, delay = 0, wsecs = 0, tmpfd, opt, sfd, x; 50 int do_listen = 0, lport = 0, delay = 0, wsecs = 0, tmpfd, opt, sfd, x;
51 char buf[BUFSIZ]; 51
52#define buf bb_common_bufsiz1
53
52#ifdef CONFIG_NC_GAPING_SECURITY_HOLE 54#ifdef CONFIG_NC_GAPING_SECURITY_HOLE
53 char *pr00gie = NULL; 55 char *pr00gie = NULL;
54#endif 56#endif