1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/yaunc/files/patch-send_data.c

12 lines
377 B
C
Raw Normal View History

--- send_data.c.orig Fri Oct 12 15:36:52 2007
+++ send_data.c Fri Oct 12 15:36:58 2007
@@ -30,7 +30,7 @@
memset(&servaddr, '0', sizeof(servaddr));
servaddr.sin_family = AF_INET;
servaddr.sin_port = htons(UPPORT);
- Inet_pton(AF_INET, ip, &servaddr.sin_addr);
+ inet_pton(AF_INET, ip, &servaddr.sin_addr);
free(ip);
/* communicate via the socket, with the server */