• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FLVなど sext styp のついた配信のリレーができない問題を修正するパッチ


Commit MetaInfo

Revisione4900f343051ca2ec704b1cb98841bd49379a33a (tree)
Time2007-12-23 21:29:33
Authoreru <eru01@user...>
Commitereru

Log Message

バグ修正(ロックのミス)
チャンネルデータロックのミス

Change Summary

Incremental Difference

--- a/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
+++ b/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
@@ -127,12 +127,12 @@ THREAD_PROC GetHostName(ThreadInfo *thread){
127127 unsigned int ip;
128128 bool flg = TRUE;
129129
130- ChannelDataLock.on();
131130 ip = htonl(id->getIpAddr());
132131
133132 for (int i=0; i<5 && flg; i++){
134133 he = gethostbyaddr((char *)&ip,sizeof(ip),AF_INET);
135134
135+ ChannelDataLock.on();
136136 ChannelData* cd = channelDataTop;
137137 if (he)
138138 {
--- 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){
127127 unsigned int ip;
128128 bool flg = TRUE;
129129
130- ChannelDataLock.on();
131130 ip = htonl(id->getIpAddr());
132131
133132 for (int i=0; i<5 && flg; i++){
134133 he = gethostbyaddr((char *)&ip,sizeof(ip),AF_INET);
135134
135+ ChannelDataLock.on();
136136 ChannelData* cd = channelDataTop;
137137 if (he)
138138 {