summaryrefslogtreecommitdiffhomepage
path: root/networking/nc.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-20 16:54:19 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-20 16:54:19 +0000
commit316355524f5fa14f18395c06d4dc813ffa97d47b (patch)
treed6fbd44c510bef0ebf57cd81bee8e009040fa3f4 /networking/nc.c
parent91f20ab510a6ddab49dd89f8c8876912d4537be0 (diff)
fixing bugs revealed by randomconfig runs
Diffstat (limited to 'networking/nc.c')
-rw-r--r--networking/nc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/nc.c b/networking/nc.c
index 37e658d4b..09d89b0a8 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -23,8 +23,8 @@ int nc_main(int argc, char **argv)
/* sfd sits _here_ only because of "repeat" option (-l -l). */
int sfd = sfd; /* for gcc */
int cfd = 0;
+ unsigned lport = 0;
SKIP_NC_SERVER(const) unsigned do_listen = 0;
- SKIP_NC_SERVER(const) unsigned lport = 0;
SKIP_NC_EXTRA (const) unsigned wsecs = 0;
SKIP_NC_EXTRA (const) unsigned delay = 0;
SKIP_NC_EXTRA (const int execparam = 0;)