1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/deskutils/plan/files/patch-ag
Thomas Gellekum 4eaa69e219 New port, plan-1.5.1, a schedule planner with calendar.
Submitted by: Daniel Eischen <deischen@iworks.InterWorks.org>
1996-08-05 07:38:11 +00:00

20 lines
746 B
Plaintext

*** src/network.c.orig Sun Apr 14 21:17:43 1996
--- src/network.c Sun Apr 14 21:18:18 1996
***************
*** 165,171 ****
addr.sin_family = AF_INET;
addr.sin_port = config.net_port;
memcpy(&addr.sin_addr, hent->h_addr, sizeof(hent->h_length));
! if (connect(fd, &addr, sizeof(addr)) < 0) {
sprintf(msg+strlen(msg),
"User file %s on host %s: cannot connect\n",
user[u].name, uhost);
--- 165,171 ----
addr.sin_family = AF_INET;
addr.sin_port = config.net_port;
memcpy(&addr.sin_addr, hent->h_addr, sizeof(hent->h_length));
! if (connect(fd, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
sprintf(msg+strlen(msg),
"User file %s on host %s: cannot connect\n",
user[u].name, uhost);