Source-Changes-HG archive

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

[src/trunk]: src/include/protocols Erm, fix previous.



details:   https://anonhg.NetBSD.org/src/rev/7bc9c3d45b27
branches:  trunk
changeset: 343101:7bc9c3d45b27
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Jan 22 23:13:20 2016 +0000

description:
Erm, fix previous.
(also, as this protocol is externally defined it probably should use its
own constant and not either of these system-defined hostname lengths...)

diffstat:

 include/protocols/timed.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d1f5568c18fe -r 7bc9c3d45b27 include/protocols/timed.h
--- a/include/protocols/timed.h Fri Jan 22 23:11:50 2016 +0000
+++ b/include/protocols/timed.h Fri Jan 22 23:13:20 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: timed.h,v 1.12 2016/01/22 23:11:50 dholland Exp $      */
+/*     $NetBSD: timed.h,v 1.13 2016/01/22 23:13:20 dholland Exp $      */
 
 /*
  * Copyright (c) 1983, 1993
@@ -55,7 +55,7 @@
                } tspu_time;
                char tspu_hopcnt;
        } tsp_u;
-       char tsp_name[_POSIX_HOST_NAME_MAX];
+       char tsp_name[_POSIX_HOST_NAME_MAX+1];
 };
 
 #define        tsp_time        tsp_u.tspu_time



Home | Main Index | Thread Index | Old Index