diff options
author | Paul Fox | 2005-07-20 19:40:30 +0000 |
---|---|---|
committer | Paul Fox | 2005-07-20 19:40:30 +0000 |
commit | 982d35ffa2e4ee673bb74f1984d585108f4bf4c2 (patch) | |
tree | 277c869e4be929f6c0fe107cd015b5ea6fe9c9f4 /networking/nc.c | |
parent | 94ff9f1010e8594c4918d270f1a0bfa73df7ae79 (diff) | |
download | busybox-982d35ffa2e4ee673bb74f1984d585108f4bf4c2.zip busybox-982d35ffa2e4ee673bb74f1984d585108f4bf4c2.tar.gz |
applying fix for:
0000263: nc cannot use -e when initiating a tcp connection
to something else
Diffstat (limited to 'networking/nc.c')
-rw-r--r-- | networking/nc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/networking/nc.c b/networking/nc.c index bf155b3..8f641ae 100644 --- a/networking/nc.c +++ b/networking/nc.c @@ -82,13 +82,6 @@ int nc_main(int argc, char **argv) } } -#ifdef CONFIG_NC_GAPING_SECURITY_HOLE - if (pr00gie) { - /* won't need stdin */ - close(STDIN_FILENO); - } -#endif /* CONFIG_NC_GAPING_SECURITY_HOLE */ - if ((do_listen && optind != argc) || (!do_listen && optind + 2 != argc)) bb_show_usage(); |