build: replace Curl_ prefix with curlx_ for functions used in servers

Closes #16689
This commit is contained in:
Viktor Szakats 2025-03-12 15:36:47 +01:00
parent 45ce0847f3
commit ee73d553ed
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
32 changed files with 86 additions and 86 deletions

View file

@ -1526,7 +1526,7 @@ int main(int argc, char *argv[])
me.sa4.sin_addr.s_addr = INADDR_ANY;
if(!addr)
addr = "127.0.0.1";
Curl_inet_pton(AF_INET, addr, &me.sa4.sin_addr);
curlx_inet_pton(AF_INET, addr, &me.sa4.sin_addr);
rc = connect(sock, &me.sa, sizeof(me.sa4));
#ifdef USE_IPV6
@ -1537,7 +1537,7 @@ int main(int argc, char *argv[])
me.sa6.sin6_port = htons(server_connectport);
if(!addr)
addr = "::1";
Curl_inet_pton(AF_INET6, addr, &me.sa6.sin6_addr);
curlx_inet_pton(AF_INET6, addr, &me.sa6.sin6_addr);
rc = connect(sock, &me.sa, sizeof(me.sa6));
}