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
chl==NULLで落ちるバグを修正
[peercast-im/PeerCastIM.git]
/
PeerCast.root
/
PeerCast
/
core
/
common
/
servent.cpp
diff --git
a/PeerCast.root/PeerCast/core/common/servent.cpp
b/PeerCast.root/PeerCast/core/common/servent.cpp
index
0d53331
..
7f15723
100644
(file)
--- a/
PeerCast.root/PeerCast/core/common/servent.cpp
+++ b/
PeerCast.root/PeerCast/core/common/servent.cpp
@@
-977,7
+977,7
@@
bool Servent::handshakeStream(ChanInfo &chanInfo)
}*/
ChanHitList *chl = chanMgr->findHitList(chanInfo);
- ChanHit *hit =
chl->hit
;
+ ChanHit *hit =
(chl ? chl->hit : NULL)
;
while(hit){
if (hit->host.isValid() && (h.ip == hit->host.ip))
{