aboutsummaryrefslogtreecommitdiff
path: root/networking/nc.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /networking/nc.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'networking/nc.c')
-rw-r--r--networking/nc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/nc.c b/networking/nc.c
index ecb4a007b..9a353c94f 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -4,7 +4,7 @@
4 4
5 0.0.1 6K It works. 5 0.0.1 6K It works.
6 0.0.2 5K Smaller and you can also check the exit condition if you wish. 6 0.0.2 5K Smaller and you can also check the exit condition if you wish.
7 0.0.3 Uses select() 7 0.0.3 Uses select()
8 8
9 19980918 Busy Boxed! Dave Cinege 9 19980918 Busy Boxed! Dave Cinege
10 19990512 Uses Select. Charles P. Wright 10 19990512 Uses Select. Charles P. Wright
@@ -47,7 +47,7 @@ int nc_main(int argc, char **argv)
47 int do_listen = 0, lport = 0, delay = 0, tmpfd, opt, sfd, x; 47 int do_listen = 0, lport = 0, delay = 0, tmpfd, opt, sfd, x;
48 char buf[BUFSIZ]; 48 char buf[BUFSIZ];
49#ifdef GAPING_SECURITY_HOLE 49#ifdef GAPING_SECURITY_HOLE
50 char * pr00gie = NULL; 50 char * pr00gie = NULL;
51#endif 51#endif
52 52
53 struct sockaddr_in address; 53 struct sockaddr_in address;
@@ -79,7 +79,7 @@ int nc_main(int argc, char **argv)
79#ifdef GAPING_SECURITY_HOLE 79#ifdef GAPING_SECURITY_HOLE
80 if (pr00gie) { 80 if (pr00gie) {
81 /* won't need stdin */ 81 /* won't need stdin */
82 close (fileno(stdin)); 82 close (fileno(stdin));
83 } 83 }
84#endif /* GAPING_SECURITY_HOLE */ 84#endif /* GAPING_SECURITY_HOLE */
85 85