Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Development => Topic started by: hydrogen fluoride on 28 07 2022, 11:13:14

Title: Code fixes
Post by: hydrogen fluoride on 28 07 2022, 11:13:14
At ...\src\mir_app\src\netlib_openconn.cpp this:
Code: [Select]
if (rc && lasterr) SetLastError(lasterr);should be replacesd by this:
Code: [Select]
if (rc && lasterr != 0) SetLastError(lasterr);
Title: Re: Code fixes
Post by: ghazan on 28 07 2022, 14:04:40
what for?
Title: Re: Code fixes
Post by: hydrogen fluoride on 07 08 2022, 14:36:59
This fix to do if it needed.
Code: [Select]
void ICQUser::setStatus(unsigned short newStatus)
{
if (statusVal != newStatus)
{
statusVal = newStatus;
g_plugin.setWord(hContact, "Status", newStatus);
}
}