diff options
Diffstat (limited to 'lib/async_req')
-rw-r--r-- | lib/async_req/async_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/async_req/async_sock.c b/lib/async_req/async_sock.c index cf007e17f1..f5a0dfde70 100644 --- a/lib/async_req/async_sock.c +++ b/lib/async_req/async_sock.c @@ -439,7 +439,7 @@ static void writev_handler(struct tevent_context *ev, struct tevent_fd *fde, } written = writev(state->fd, state->iov, state->count); - if ((written == -1) && (errno = EINTR)) { + if ((written == -1) && (errno == EINTR)) { /* retry */ return; } |