Author Topic: Code fixes  (Read 203 times)

0 Members and 1 Guest are viewing this topic.

Code fixes
« 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);
 

Online ghazan

Re: Code fixes
« Reply #1 on: 28 07 2022, 14:04:40 »
what for?
 

Re: Code fixes
« Reply #2 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);
}
}