1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/net/spread/files/patch-sp.c
Emanuel Haupt 9466619af6 - Update to 3.17.3
- Provide pkg-deinstall
- Cleanup

PR:		86901
Submitted by:	Chris Mikkelson <cmikk@qwest.net>
Approved by:	maintainer timeout (16 days after postponement)
2005-10-28 18:30:58 +00:00

12 lines
426 B
C

--- sp.c Tue Oct 5 09:08:10 2004
+++ sp.c Tue Oct 4 14:44:27 2005
@@ -591,7 +591,7 @@
set_large_socket_buffers(s);
unix_addr.sun_family = AF_UNIX;
- sprintf( unix_addr.sun_path, "/tmp/%d", port );
+ sprintf( unix_addr.sun_path, "%s/spread.sock", _PATH_SPREAD_PIDDIR );
ret = connect_nointr_timeout( s, (struct sockaddr *)&unix_addr, sizeof(unix_addr), &time_out);
#endif /* !ARCH_PC_WIN95 */
}