git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49eccee
)
Fix a = vs == error in writev_handler
author
Volker Lendecke
<vl@samba.org>
Mon, 15 Jun 2009 05:45:11 +0000
(07:45 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 15 Jun 2009 05:48:48 +0000
(07:48 +0200)
lib/async_req/async_sock.c
patch
|
blob
|
history
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;
}