mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
fix misspelling
This commit is contained in:
parent
bc6922cb8b
commit
d4cf37d2ef
2 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ CookieRef::ReInit( const char* cookie, const char* connName, CookieID cid,
|
||||||
} else {
|
} else {
|
||||||
m_delayMicros = 0;
|
m_delayMicros = 0;
|
||||||
}
|
}
|
||||||
RelayConfigs::GetConfigs()->GetValueFor( "HEARTBEAT", &m_heatbeat );
|
RelayConfigs::GetConfigs()->GetValueFor( "HEARTBEAT", &m_heartbeat );
|
||||||
logf( XW_LOGINFO, "initing cref for cookie %s, connName %s",
|
logf( XW_LOGINFO, "initing cref for cookie %s, connName %s",
|
||||||
m_cookie.c_str(), m_connName.c_str() );
|
m_cookie.c_str(), m_connName.c_str() );
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ class CookieRef {
|
||||||
const char* Cookie() const { return m_cookie.c_str(); }
|
const char* Cookie() const { return m_cookie.c_str(); }
|
||||||
const char* ConnName() { return m_connName.c_str(); }
|
const char* ConnName() { return m_connName.c_str(); }
|
||||||
|
|
||||||
int GetHeartbeat() { return m_heatbeat; }
|
int GetHeartbeat() { return m_heartbeat; }
|
||||||
const AddrInfo* SocketForHost( HostID dest );
|
const AddrInfo* SocketForHost( HostID dest );
|
||||||
HostID HostForSocket( const AddrInfo* addr );
|
HostID HostForSocket( const AddrInfo* addr );
|
||||||
|
|
||||||
|
@ -275,7 +275,7 @@ class CookieRef {
|
||||||
pthread_rwlock_t m_socketsRWLock;
|
pthread_rwlock_t m_socketsRWLock;
|
||||||
vector<HostRec> m_sockets;
|
vector<HostRec> m_sockets;
|
||||||
|
|
||||||
int m_heatbeat; /* might change per carrier or something. */
|
int m_heartbeat; /* might change per carrier or something. */
|
||||||
string m_cookie; /* cookie used for initial connections */
|
string m_cookie; /* cookie used for initial connections */
|
||||||
string m_connName; /* globally unique name */
|
string m_connName; /* globally unique name */
|
||||||
CookieID m_cid; /* Unique among current games on this server */
|
CookieID m_cid; /* Unique among current games on this server */
|
||||||
|
|
Loading…
Add table
Reference in a new issue