OSDN Git Service
(root)
/
hmh
/
hhml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2f5eb3
)
bug fix.
author
visor
<visor@users.sourceforge.jp>
Thu, 17 Oct 2013 14:23:07 +0000
(23:23 +0900)
committer
visor
<visor@users.sourceforge.jp>
Thu, 17 Oct 2013 14:23:07 +0000
(23:23 +0900)
lib/util_tcp.cc
patch
|
blob
|
history
diff --git
a/lib/util_tcp.cc
b/lib/util_tcp.cc
index
6f371cb
..
d530729
100644
(file)
--- a/
lib/util_tcp.cc
+++ b/
lib/util_tcp.cc
@@
-60,7
+60,7
@@
bool TcpBuf::fill (TcpClient& tc) {
}
}
s = tc.read (&*tail, buf.end () - tail);
- if (s
=
= 0)
+ if (s
<
= 0)
return false;
tail += s;