summaryrefslogtreecommitdiff
path: root/libexec/ftp-proxy/ftp-proxy.c
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2001-08-19 17:20:35 +0000
committerBob Beck <beck@cvs.openbsd.org>2001-08-19 17:20:35 +0000
commitb916600c7e93e3dd6664e13c84632631dfd1ea3f (patch)
treebc6ecf794baf40c3887f7a1d908a5c290b5e4908 /libexec/ftp-proxy/ftp-proxy.c
parente232330f7915119c7f551cdb8a6e77165c80a2e2 (diff)
Argh. I must be wearing a stupid sign today
Diffstat (limited to 'libexec/ftp-proxy/ftp-proxy.c')
-rw-r--r--libexec/ftp-proxy/ftp-proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftp-proxy/ftp-proxy.c b/libexec/ftp-proxy/ftp-proxy.c
index dfb704d36a9..41858efbcda 100644
--- a/libexec/ftp-proxy/ftp-proxy.c
+++ b/libexec/ftp-proxy/ftp-proxy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftp-proxy.c,v 1.7 2001/08/19 15:37:01 beck Exp $ */
+/* $OpenBSD: ftp-proxy.c,v 1.8 2001/08/19 17:20:34 beck Exp $ */
/*
* Copyright (c) 1996-2001
@@ -1008,7 +1008,7 @@ main(int argc, char **argv)
if (server_iob.fd > maxfd)
maxfd = server_iob.fd;
if (server_listen_socket > maxfd)
- maxfd = server_data_socket;
+ maxfd = server_listen_socket;
if (server_data_socket > maxfd)
maxfd = server_data_socket;