summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-15 07:45:11 +0200
committerVolker Lendecke <vl@samba.org>2009-06-15 07:48:48 +0200
commitb7062657864d979e37f541189a164cae3f700a31 (patch)
treeb2462187b82407e887bbc3bddc544650b8ea69b9
parent49eccee209f01af043d084742bbbc9d4519eddfc (diff)
downloadsamba-b7062657864d979e37f541189a164cae3f700a31.tar.gz
samba-b7062657864d979e37f541189a164cae3f700a31.tar.bz2
samba-b7062657864d979e37f541189a164cae3f700a31.zip
Fix a = vs == error in writev_handler
-rw-r--r--lib/async_req/async_sock.c2
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;
}