diff options
Diffstat (limited to 'net/spread4/files/patch-sp.c')
-rw-r--r-- | net/spread4/files/patch-sp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/spread4/files/patch-sp.c b/net/spread4/files/patch-sp.c index bf1b2a7b8851..fc0df37e5496 100644 --- a/net/spread4/files/patch-sp.c +++ b/net/spread4/files/patch-sp.c @@ -1,11 +1,11 @@ ---- sp.c Tue Aug 5 21:35:28 2003 -+++ sp.c Tue Aug 5 21:24:19 2003 -@@ -551,7 +551,7 @@ - Alarm( SESSION, "SP_connect: set sndbuf/rcvbuf to %d\n", 1024*(i-5) ); +--- 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 ); - while( ((ret = connect( s, (struct sockaddr *)&unix_addr, sizeof(unix_addr) )) == -1) - && ((sock_errno == EINTR) || (sock_errno == EAGAIN) || (sock_errno == EWOULDBLOCK)) ) - { + ret = connect_nointr_timeout( s, (struct sockaddr *)&unix_addr, sizeof(unix_addr), &time_out); + #endif /* !ARCH_PC_WIN95 */ + } |