1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/mail/youbin/files/patch-ad
1996-08-21 09:06:55 +00:00

21 lines
607 B
Plaintext

diff -c sendto.c.orig sendto.c
*** sendto.c.orig Mon Aug 1 21:59:07 1994
--- sendto.c Wed Aug 7 13:48:46 1996
***************
*** 107,113 ****
int len;
len = strlen(message);
! if (sendto(sockid, message, len, 0, &sa, sizeof(sa)) != len) {
sprintf(err_msg, "Error in sending packet");
return (err_msg);
}
--- 107,113 ----
int len;
len = strlen(message);
! if (sendto(sockid, message, len, 0, (struct sockaddr *)&sa, sizeof(sa)) != len) {
sprintf(err_msg, "Error in sending packet");
return (err_msg);
}