diff options
author | fenner <fenner@FreeBSD.org> | 1996-05-02 05:54:14 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1996-05-02 05:54:14 +0000 |
commit | 1284248a562d77b304b6e684d87aa12fdc1f2277 (patch) | |
tree | 443c456fd57adf0d61aa18d5e9ee19a8c2bcc3bb /sys/netinet/udp_usrreq.c | |
parent | 2163f66f9a784b5634efb13cc1f162789347f406 (diff) | |
download | FreeBSD-src-1284248a562d77b304b6e684d87aa12fdc1f2277.zip FreeBSD-src-1284248a562d77b304b6e684d87aa12fdc1f2277.tar.gz |
Back out my stupid braino; I was thinking strlen and not sizeof.
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 68f1ff5..e2e52a9 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95 - * $Id: udp_usrreq.c,v 1.23 1996/04/27 18:19:12 ache Exp $ + * $Id: udp_usrreq.c,v 1.24 1996/05/02 05:31:13 fenner Exp $ */ #include <sys/param.h> @@ -280,7 +280,7 @@ udp_input(m, iphlen) } if (inp == NULL) { if (log_in_vain) { - char buf[4*sizeof "123."]; + char buf[4*sizeof "123"]; strcpy(buf, inet_ntoa(ip->ip_dst)); log(LOG_INFO, "Connection attempt to UDP %s:%d" |