Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Bug reports => Topic started by: hydrogen fluoride on 28 07 2022, 10:50:57

Title: IRC: connecting to (null)
Post by: hydrogen fluoride on 28 07 2022, 10:50:57
Code: [Select]
Connection request to irc.oftc.net:6697 (Flags 0)....
(00F7DF68) Connecting to server irc.oftc.net:6697....
(00F7DF68) Connecting to ip *some ip*:6697 ....
(00F7DF68) Connecting to ip *some ip*:6697 ....
(00F7DF68) Connecting to ip *some ip*:6697 ....
(00F7DF68) Connecting to ip *some ip*:6697 ....
(00F7DF68) Connecting to ip (null) ....
(00F7DF68) Connecting to ip (null) ....
Title: Re: IRC: connecting to (null)
Post by: hydrogen fluoride on 28 07 2022, 11:37:55
Attached file with fixes. It drops your from loop. Also imrovements for debbuggers. Debugger should get more messages about errors.
Title: Re: IRC: connecting to (null)
Post by: ghazan on 28 07 2022, 14:19:18
hydrogen fluoride,
1. please, learn how to create patches for git. do not attach source files as is.
2. do not break code formatting
3. this patch is not acceptable, because SetLastError() breaks the whole sense of assignment to lastError, because any system call reassigns the error code assigned with the current thread