From 4ddaf6127ab2fdcf268b76c9a33cb08bc276bfbf Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 30 Mar 2014 05:30:28 +0000 Subject: Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead. Fix two semi-compensating size bugs in wire transmission affecting 64-bit machines. --- hunt/huntd/hunt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hunt/huntd/hunt.h') diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h index daff100b..82605662 100644 --- a/hunt/huntd/hunt.h +++ b/hunt/huntd/hunt.h @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.h,v 1.29 2014/03/30 01:44:37 dholland Exp $ */ +/* $NetBSD: hunt.h,v 1.30 2014/03/30 05:30:28 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -56,7 +56,7 @@ typedef struct ident_def IDENT; typedef struct regen_def REGEN; struct ident_def { - char i_name[NAMELEN]; + char i_name[WIRE_NAMELEN]; char i_team; uint32_t i_machine; uint32_t i_uid; -- cgit v1.2.3