-
Philip Chimento authored
In CUPS 1.7 httpConnect() and httpConnectEncrypt() were deprecated and replaced with httpConnect2(). This checks if httpConnect2() is available and if so, replaces the uses of the deprecated functions. In the CUPS source code, httpConnect() and httpConnectEncrypt() are now wrappers around httpConnect2(), so we make sure to use the same arguments as in the CUPS source code so the two code paths are sure to be identical: https://github.com/apple/cups/blob/2c030c7a06e0c2b8227c7e85f5c58dfb339731d0/cups/http.c#L412 https://github.com/apple/cups/blob/2c030c7a06e0c2b8227c7e85f5c58dfb339731d0/cups/http.c#L477
389ee0df