Author Topic: IRC: connecting to (null)  (Read 3387 times)

0 Members and 1 Guest are viewing this topic.

Offline hydrogen fluoride

IRC: connecting to (null)
« 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) ....
 

Offline hydrogen fluoride

Re: IRC: connecting to (null)
« Reply #1 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.
« Last Edit: 28 07 2022, 12:06:30 by hydrogen fluoride »
 

Offline ghazan

Re: IRC: connecting to (null)
« Reply #2 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