rfc2553_connect_to(): Properly detect and log when poll() reached the time out
authorFabian Keil <fk@fabiankeil.de>
Thu, 8 Jun 2017 13:04:56 +0000 (13:04 +0000)
committerFabian Keil <fk@fabiankeil.de>
Thu, 8 Jun 2017 13:04:56 +0000 (13:04 +0000)
commit2b104746c8c7a4d05d79de0e630467751d0a4128
tree2fb756efe2479f8a084255f4f1797fe83796e295
parentc374b4059fb38a0555f9eb7f6b15a42fc7045df1
rfc2553_connect_to(): Properly detect and log when poll() reached the time out

Previously this was logged as:
Could not connect to [...]: No error: 0.
which isn't very helpful.

The select() code path doesn't look like it would handle timeouts
properly either but apparently nobody noticed this yet ...

Sponsored by: Robert Klemme
jbsockets.c