opnsense-ports/net/spread/files/patch-session.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
342 B
C

--- session.c Tue Aug 5 21:35:52 2003
+++ session.c Tue Aug 5 21:31:30 2003
@@ -406,7 +406,7 @@
Alarm( EXIT, "Sess_init: UNIX sock error\n" );
unix_addr.sun_family = AF_UNIX;
- sprintf( name, "/tmp/%d",My.port );
+ sprintf( name, "%s/spread.sock", _PATH_SPREAD_PIDDIR );
strcpy( unix_addr.sun_path, name );
unlink( name );