git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a = vs == error in writev_handler
[kai/samba.git]
/
lib
/
async_req
/
async_sock.c
diff --git
a/lib/async_req/async_sock.c
b/lib/async_req/async_sock.c
index cf007e17f191a5cdf7c345a8f9894a9dd05d02f9..f5a0dfde708bd8b14065dcdbc09ad9e642a1fd3a 100644
(file)
--- 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;
}