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
バグ修正(ロックのミス)
[peercast-im/PeerCastIM.git]
/
c:
/
Git
/
PeerCast.root
/
PeerCast
/
ui
/
win32
/
simple
/
gui.cpp
diff --git
a/c:/Git/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
b/c:/Git/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
index
23eb053
..
d1768b7
100644
(file)
--- a/
c:/Git/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
+++ b/
c:/Git/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
@@
-127,12
+127,12
@@
THREAD_PROC GetHostName(ThreadInfo *thread){
unsigned int ip;
bool flg = TRUE;
- ChannelDataLock.on();
ip = htonl(id->getIpAddr());
for (int i=0; i<5 && flg; i++){
he = gethostbyaddr((char *)&ip,sizeof(ip),AF_INET);
+ ChannelDataLock.on();
ChannelData* cd = channelDataTop;
if (he)
{