From 9ccdf0577ee47b9109c2f41b3c47ff740d01846b Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 14 Dec 2004 06:27:14 +0000 Subject: sendto() takes socklen_t as an argument; ok henning@ --- usr.sbin/ntpd/ntp_msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ntpd/ntp_msg.c b/usr.sbin/ntpd/ntp_msg.c index 0a1496d6475..2471319481a 100644 --- a/usr.sbin/ntpd/ntp_msg.c +++ b/usr.sbin/ntpd/ntp_msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp_msg.c,v 1.13 2004/12/08 17:35:16 mickey Exp $ */ +/* $OpenBSD: ntp_msg.c,v 1.14 2004/12/14 06:27:13 dtucker Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -63,7 +63,7 @@ ntp_sendmsg(int fd, struct sockaddr *sa, struct ntp_msg *msg, ssize_t len, { char buf[NTP_MSGSIZE]; char *p = buf; - u_int8_t sa_len; + socklen_t sa_len; #define copyout(p,f) memcpy((p), &(f), sizeof(f)); p += sizeof(f) -- cgit v1.2.3