diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2004-12-14 06:27:14 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2004-12-14 06:27:14 +0000 |
commit | 9ccdf0577ee47b9109c2f41b3c47ff740d01846b (patch) | |
tree | d11d49721a385b76d3983ba6c414eb2294c6d056 | |
parent | 7c5e8ad8d878ab090fc04366dec83153db2adf6b (diff) |
sendto() takes socklen_t as an argument; ok henning@
-rw-r--r-- | usr.sbin/ntpd/ntp_msg.c | 4 |
1 files 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 <henning@openbsd.org> @@ -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) |