Skip to content
Snippets Groups Projects
Commit fd8f94fd authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix previous commit: startup.outgoing4 is not a union xp_sockaddr *

parent 2f83c053
No related branches found
No related tags found
No related merge requests found
Pipeline #8371 passed
......@@ -5716,7 +5716,7 @@ static void sendmail_thread(void* arg)
if (startup->outgoing4.s_addr == 0)
server = "127.0.0.1";
else {
inet_addrtop(&startup->outgoing4, numeric_ip, sizeof numeric_ip);
inet_ntop(AF_INET, &startup->outgoing4, numeric_ip, sizeof numeric_ip);
server = numeric_ip;
}
sending_locally = TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment