From: Michael R Sweet Date: Tue, 18 Jun 2024 15:28:56 +0000 (-0400) Subject: Fix build in Linux. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8af4b4fe23d763a4366b103aeb294a819ea2182;p=thirdparty%2Fcups.git Fix build in Linux. --- diff --git a/cups/tls.c b/cups/tls.c index c02b73570e..96ef1d8b50 100644 --- a/cups/tls.c +++ b/cups/tls.c @@ -307,7 +307,7 @@ http_check_roots(const char *creds) // I - Credentials if (!tls_root_certs) { // Load root certificates... - tls_root_certs = cupsArrayNew(/*cb*/NULL, /*cb_data*/NULL, /*hash_cb*/NULL, /*hash_size*/0, /*copy_cb*/NULL, /*free_cb*/NULL); + tls_root_certs = cupsArrayNew3(/*cb*/NULL, /*cb_data*/NULL, /*hash_cb*/NULL, /*hash_size*/0, /*copy_cb*/NULL, /*free_cb*/NULL); # ifdef _WIN32 int i; // Looping var