diff options
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 |
commit | 6f347ef9dc540aaea025c0575e586817cd85cc8e (patch) | |
tree | 5fc98f67e92bb2eca75d33940a4f8698bb216f3a /networking | |
parent | 84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff) | |
download | busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz |
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'networking')
-rw-r--r-- | networking/nc.c | 4 |
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) 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 |