summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2005-10-15 10:23:55 +0000
committer"Vladimir N. Oleynik"2005-10-15 10:23:55 +0000
commit6f347ef9dc540aaea025c0575e586817cd85cc8e (patch)
tree5fc98f67e92bb2eca75d33940a4f8698bb216f3a /networking
parent84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff)
downloadbusybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.zip
busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz
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 8f641ae..fda1fb8 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