summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/hunt.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-30 05:30:28 +0000
committerdholland <dholland@NetBSD.org>2014-03-30 05:30:28 +0000
commit4ddaf6127ab2fdcf268b76c9a33cb08bc276bfbf (patch)
treec5e563bc63ca82d2116ea9fce3f896dae11ad51f /hunt/huntd/hunt.h
parentf0f60ae760a0274a50d65666e97a141a29287a8f (diff)
downloadbsdgames-darwin-4ddaf6127ab2fdcf268b76c9a33cb08bc276bfbf.tar.gz
bsdgames-darwin-4ddaf6127ab2fdcf268b76c9a33cb08bc276bfbf.zip
Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.
Fix two semi-compensating size bugs in wire transmission affecting 64-bit machines.
Diffstat (limited to 'hunt/huntd/hunt.h')
-rw-r--r--hunt/huntd/hunt.h4
1 files changed, 2 insertions, 2 deletions
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;