mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01:00
xlxd 2.3.3
corrected bug
This commit is contained in:
parent
6749775430
commit
66624df5e0
|
|
@ -177,9 +177,12 @@ CPacketStream *CProtocol::GetStream(uint16 uiStreamId, const CIp *Ip)
|
||||||
if ( m_Streams[i]->GetStreamId() == uiStreamId )
|
if ( m_Streams[i]->GetStreamId() == uiStreamId )
|
||||||
{
|
{
|
||||||
// if Ip not NULL, also check if IP match
|
// if Ip not NULL, also check if IP match
|
||||||
if ( (Ip != NULL) && (*Ip == *(m_Streams[i]->GetOwnerIp())) )
|
if ( (Ip != NULL) && (m_Streams[i]->GetOwnerIp() != NULL) )
|
||||||
{
|
{
|
||||||
stream = m_Streams[i];
|
if ( *Ip == *(m_Streams[i]->GetOwnerIp()) )
|
||||||
|
{
|
||||||
|
stream = m_Streams[i];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
#define VERSION_MAJOR 2
|
#define VERSION_MAJOR 2
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_REVISION 2
|
#define VERSION_REVISION 3
|
||||||
|
|
||||||
// global ------------------------------------------------------
|
// global ------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue