diff options
author | Jo-Philipp Wich <jo@mein.io> | 2024-05-09 00:45:43 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-05-09 00:45:43 +0200 |
commit | 0d823e702bfe5f2bb5be694030a98afedf34aa6b (patch) | |
tree | 9fba778d6519a8660b815aa69582962c014520b6 /main.c | |
parent | b594ff8a2841975c36b69bf5eba4abbc2fffcc35 (diff) |
socket: fix addrinfo() with omitted service argument
Actually pass NULL to getaddrinfo() when the service argument is omitted,
instead of incorrectly translating it to a string containing "null".
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions