From 667f3b18281e91d631d82e19b7b0d7d6c70bc770 Mon Sep 17 00:00:00 2001 From: "Liam J. Foy" Date: Tue, 3 May 2005 17:39:03 +0000 Subject: [PATCH] - Use socklen_t Obtained from: FreeBSD (rev 1.17) --- libexec/comsat/comsat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c index 79341514f5..000ea4ec25 100644 --- a/libexec/comsat/comsat.c +++ b/libexec/comsat/comsat.c @@ -33,7 +33,7 @@ * @(#) Copyright (c) 1980, 1993 The Regents of the University of California. All rights reserved. * @(#)comsat.c 8.1 (Berkeley) 6/4/93 * $FreeBSD: src/libexec/comsat/comsat.c,v 1.13.2.1 2002/08/09 02:56:30 johan Exp $ - * $DragonFly: src/libexec/comsat/comsat.c,v 1.5 2005/05/03 17:32:23 liamfoy Exp $ + * $DragonFly: src/libexec/comsat/comsat.c,v 1.6 2005/05/03 17:39:03 liamfoy Exp $ */ #include @@ -80,8 +80,8 @@ int main(int argc __unused, char **argv __unused) { struct sockaddr_in from; + socklen_t fromlen; int cc; - int fromlen; char msgbuf[256]; /* verify proper invocation */ -- 2.41.0