- 575886DECFB03275E991DAD5372D9F29627E287A3AE29E920B817F7F57F72FD672E09E800BC07166FA6ED97436D66E4C9F0CB06329468B13102758DB3B76F90E
+ 392DC3BBEBB8BA295916D8EA5AB5CFB2CE44FAC68CCD209F4A088D3BC812B9B8BAE712599CD0481146FF7DB530400882CBF72BC36C637E895430C3E82AA55410
udp/libudp/unix_udp.c
(39 . 7)(39 . 12)
5 struct in_addr addr;
6 addr.s_addr = htonl(ip);
7 char *txt = inet_ntoa(addr);
8 strncpy(buf, txt, buf_size);
9 /* Given IP might be shorter than buf_size so don't copy blindly. */
10 int len = strlen(txt);
11 /* ONTH don't ever copy more than buf_size either */
12 if (len > buf_size)
13 len = buf_size;
14 strncpy(buf, txt, len);
15 }
16 /* Should be replaced with native routine */
17