From b7062657864d979e37f541189a164cae3f700a31 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 15 Jun 2009 07:45:11 +0200 Subject: Fix a = vs == error in writev_handler --- lib/async_req/async_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; } -- cgit