Changeset 6402 for trunk/licq/src/icqd-chat.cpp
- Timestamp:
- 07/03/08 05:54:19 (5 months ago)
- Files:
-
- 1 modified
-
trunk/licq/src/icqd-chat.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/src/icqd-chat.cpp
r6401 r6402 816 816 817 817 // try reverse connect 818 int nId = licqDaemon->RequestReverseConnection(c->m_ nUin, c->m_nSession,818 int nId = licqDaemon->RequestReverseConnection(c->m_szId, c->m_nSession, 819 819 nIp, LocalPort(), c->m_nPort); 820 820 if (nId != -1) … … 854 854 855 855 // Send handshake packet: 856 if (!CICQDaemon::Handshake_Send(&u->sock, c->m_ nUin, LocalPort(),856 if (!CICQDaemon::Handshake_Send(&u->sock, c->m_szId, LocalPort(), 857 857 VersionToUse(c->m_nVersion), false)) 858 858 return false; … … 985 985 iter != licqDaemon->m_lReverseConnect.end(); ++iter) 986 986 { 987 if ((*iter)-> nUin == u->uin)987 if ((*iter)->myIdString == u->Id()) 988 988 { 989 989 bFound = true; … … 2464 2464 pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); 2465 2465 gLog.Info("%sChat: Waiting for reverse connection.\n", L_TCPxSTR); 2466 bool bConnected = d->WaitForReverseConnection(rc->nId, rc->u-> Uin());2466 bool bConnected = d->WaitForReverseConnection(rc->nId, rc->u->Id()); 2467 2467 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); 2468 2468
