projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199a80d
)
fix typo in dccp_writer
author
Andre Noll
<maan@systemlinux.org>
Mon, 19 Feb 2007 21:24:17 +0000
(22:24 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 19 Feb 2007 21:24:17 +0000
(22:24 +0100)
Again, a serious typo that causes the dccp writer to not error
out under certain circumstances.
dccp_send.c
patch
|
blob
|
history
diff --git
a/dccp_send.c
b/dccp_send.c
index
c335e76
..
e4b5087
100644
(file)
--- a/
dccp_send.c
+++ b/
dccp_send.c
@@
-131,7
+131,7
@@
again:
size = PARA_MIN(1024, len - written);
ret = write(fd, buf + written, size);
if (ret < 0) {
- if (errno != EAGAIN ||
!
retries++ > DCCP_WRITE_RETRIES)
+ if (errno != EAGAIN || retries++ > DCCP_WRITE_RETRIES)
goto err_out;
PARA_DEBUG_LOG("EAGAIN #%d@%zd/%zd\n", retries, written, len);
goto again;