Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libwrap fatal typo. From: Izumi Tsutsui <tsutsui@ceres....



details:   https://anonhg.NetBSD.org/src/rev/418206700f5f
branches:  trunk
changeset: 495349:418206700f5f
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Jul 26 14:59:06 2000 +0000

description:
fatal typo.  From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>

diffstat:

 lib/libwrap/fix_options.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cb392399653b -r 418206700f5f lib/libwrap/fix_options.c
--- a/lib/libwrap/fix_options.c Wed Jul 26 14:41:23 2000 +0000
+++ b/lib/libwrap/fix_options.c Wed Jul 26 14:59:06 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fix_options.c,v 1.5 1999/08/31 13:58:58 itojun Exp $   */
+/*     $NetBSD: fix_options.c,v 1.6 2000/07/26 14:59:06 itojun Exp $   */
 
  /*
   * Routine to disable IP-level socket options. This code was taken from 4.4BSD
@@ -12,7 +12,7 @@
 #if 0
 static char sccsid[] = "@(#) fix_options.c 1.6 97/04/08 02:29:19";
 #else
-__RCSID("$NetBSD: fix_options.c,v 1.5 1999/08/31 13:58:58 itojun Exp $");
+__RCSID("$NetBSD: fix_options.c,v 1.6 2000/07/26 14:59:06 itojun Exp $");
 #endif
 #endif
 
@@ -61,7 +61,7 @@
      * XXX IPv6 support?
      */
     sslen = sizeof(ss);
-    if (getsockname(fd, (struct sockaddr *)&ss, &sslen < 0)) {
+    if (getsockname(fd, (struct sockaddr *)&ss, &sslen) < 0) {
        syslog(LOG_ERR, "getpeername: %m");
        clean_exit(request);
     }



Home | Main Index | Thread Index | Old Index