applying fix for:
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 20 Jul 2005 19:40:30 +0000 (19:40 +0000)
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 20 Jul 2005 19:40:30 +0000 (19:40 +0000)
    0000263: nc cannot use -e when initiating a tcp connection
     to something else

git-svn-id: svn://busybox.net/trunk/busybox@10883 69ca8d6d-28ef-0310-b511-8ec308f3f277

networking/nc.c

index bf155b3..8f641ae 100644 (file)
@@ -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();