diff options
author | Jeremy Allison <jra@samba.org> | 2006-12-13 05:54:39 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2006-12-13 05:54:39 +0000 |
commit | a9118476c182b716f542948c335c4644289a2704 (patch) | |
tree | 52a27c412b5b43de50154d80029f2d7bf4607830 | |
parent | cf54eae66a8812af69f103ab827d4512dc97e7f2 (diff) | |
download | samba-a9118476c182b716f542948c335c4644289a2704.tar.gz samba-a9118476c182b716f542948c335c4644289a2704.tar.xz samba-a9118476c182b716f542948c335c4644289a2704.zip |
r20148: Forgot to merge. Ensure open_any_socket_out()
is safe from signals.
Jeremy.
-rw-r--r-- | source/lib/util_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c index 1a73a310b62..2866a443d47 100644 --- a/source/lib/util_sock.c +++ b/source/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; |