Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/dhcp/dist/common Fix (back into) comment



details:   https://anonhg.NetBSD.org/src/rev/093f33035719
branches:  trunk
changeset: 327428:093f33035719
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Mar 07 05:51:44 2014 +0000

description:
Fix (back into) comment

diffstat:

 external/bsd/dhcp/dist/common/ns_name.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6700a1966eda -r 093f33035719 external/bsd/dhcp/dist/common/ns_name.c
--- a/external/bsd/dhcp/dist/common/ns_name.c   Fri Mar 07 05:50:41 2014 +0000
+++ b/external/bsd/dhcp/dist/common/ns_name.c   Fri Mar 07 05:51:44 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ns_name.c,v 1.5 2014/03/07 01:04:29 christos Exp $     */
+/*     $NetBSD: ns_name.c,v 1.6 2014/03/07 05:51:44 matt Exp $ */
 
 /*
  * Copyright (c) 2004,2009 by Internet Systems Consortium, Inc. ("ISC")
@@ -24,7 +24,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: ns_name.c,v 1.5 2014/03/07 01:04:29 christos Exp $");
+__RCSID("$NetBSD: ns_name.c,v 1.6 2014/03/07 05:51:44 matt Exp $");
 
 #ifndef lint
 static const char rcsid[] = "Id: ns_name.c,v 1.2 2009/10/28 04:12:29 sar Exp ";
@@ -345,7 +345,7 @@
                        if (len < 0)
                                len = srcp - src + 1;
                        n = ((n & 0x3f) << 8) | (*srcp & 0xff);
-                       if (n >= eom - msg) {  / Out of range. */
+                       if (n >= eom - msg) {  /* Out of range. */
                                errno = EMSGSIZE;
                                return (-1);
                        }



Home | Main Index | Thread Index | Old Index