Skip to content
Snippets Groups Projects
Commit eb73eda1 authored by Roman Khabibov's avatar Roman Khabibov Committed by Kirill Yukhin
Browse files

coio/say: fix getaddrinfo error handling on macOS

Before this patch, branch when getaddrinfo() returns error codes
couldn't be reached on macOS, because they are greater than 0 on
macOS (assumption "rc < 0" in commit ea1da04d is incorrect for
macOS).

Note: diag_log() in say.c was added, because otherwise it will be
hid in the case of panic(). Also, two diag_set() in
syslog_connect_unix() was added to avoid asserts in this
diag_log().

Needed for #4138
parent dcaae66e
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment