diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-11-14 22:25:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-11-14 22:25:03 +0000 |
commit | 78f3f6733a592c508765583e736c9d61a21af677 (patch) | |
tree | 7e465999c895cd015d9fc61d56d00f8aa91729e6 /libexec | |
parent | 927e778570087ee7dbae3245e2bd0cd787d7ce6b (diff) |
warning about getpeername() failing is useless
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftpd/ftpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 6b9701ba32d..c3703e3e520 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftpd.c,v 1.57 1999/09/22 05:00:46 deraadt Exp $ */ +/* $OpenBSD: ftpd.c,v 1.58 1999/11/14 22:25:02 deraadt Exp $ */ /* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */ /* @@ -423,7 +423,7 @@ main(argc, argv, envp) addrlen = sizeof(his_addr); if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) { - syslog(LOG_ERR, "getpeername (%s): %m", argv[0]); + /* syslog(LOG_ERR, "getpeername (%s): %m", argv[0]); */ exit(1); } } |