From 050534827f7dcbc9cd78683e477aaa6dd2ba9394 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 13 Dec 2006 05:54:39 +0000 Subject: r20148: Forgot to merge. Ensure open_any_socket_out() is safe from signals. Jeremy. (This used to be commit c264a0aa4a83a3d47db33446b16a8766bc14824f) --- source3/lib/util_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 1a73a310b6..2866a443d4 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -974,7 +974,7 @@ BOOL open_any_socket_out(struct sockaddr_in *addrs, int num_addrs, } if (errno == EINPROGRESS || errno == EALREADY || - errno == EAGAIN) { + errno == EAGAIN || errno == EINTR) { /* These are the error messages that something is progressing. */ good_connect = True; -- cgit