Sender doesn't guarantee anything about pos, this doesn't seem to work on Win32 host

ryzomclassic-develop
kaetemi 3 years ago
parent 88e2ebd31c
commit 2cd2b9502f
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -266,9 +266,14 @@ void uncbServiceIdentification(CMessage &msgin, TSockId from, CCallbackNetBase &
nlinfo ("HNETL5: + connect ident '%s' %s-%hu pos %hu ext %d", from->asString().c_str(), inSName.c_str(), inSid.get(), (uint16)pos, (uint8)isExternal);
if(isExternal)
if (isExternal)
{
nlassert (pos == 0);
#ifdef NL_OS_WINDOWS
pos = 0;
#else
nlassert(pos == 0);
#endif
}
if (inSid.get() == 0)

Loading…
Cancel
Save