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
Thomas Abthorpe ae68e4cb1d - Update to 1.02
- Pet portlint
- Pass maintainership to submitter

PR:		ports/117137
Submitted by:	Philippe Audeoud <jadawin tuxaco.net>
Approved by:	clsung (mentor)
2007-10-16 03:15:28 +00:00

12 lines
377 B
C

--- 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 */