]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Make sure Windows socket stuff is initialized before calling getaddrinfo...
authorMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 7 Jun 2021 11:51:26 +0000 (07:51 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 7 Jun 2021 11:51:26 +0000 (07:51 -0400)
cups/http-addrlist.c

index 56380cb9259a3176efd65e7563324b5206607b78..dbe08d551c4868f31b0d18423959f083c81bdcd0 100644 (file)
@@ -518,6 +518,8 @@ httpAddrGetList(const char *hostname,       /* I - Hostname, IP address, or NULL for p
                         family == AF_INET ? "INET" : "???", service);
 #endif /* DEBUG */
 
+  httpInitialize();
+
 #ifdef HAVE_RES_INIT
  /*
   * STR #2920: Initialize resolver after failure in cups-polld