OSDN Git Service
(root)
/
peercast-im
/
PeerCastIM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VP25-3マージ
[peercast-im/PeerCastIM.git]
/
PeerCast.root
/
PeerCast
/
core
/
win32
/
wsocket.cpp
diff --git
a/PeerCast.root/PeerCast/core/win32/wsocket.cpp
b/PeerCast.root/PeerCast/core/win32/wsocket.cpp
index
372f1c5
..
3df0d3f
100644
(file)
--- a/
PeerCast.root/PeerCast/core/win32/wsocket.cpp
+++ b/
PeerCast.root/PeerCast/core/win32/wsocket.cpp
@@
-642,9
+642,9
@@
void WSAClientSocket::close()
try
{
char c[1024];
- while (read
Upto(&c,1024
) > 0)
- if (sys->getTime() - stime > 5)
break;
-
//readUpto(&c,1)
;
+ while (read
(&c, sizeof(c)
) > 0)
+ if (sys->getTime() - stime > 5)
+
break
;
}catch(StreamException &) {}
if (closesocket (sockNum))