summaryrefslogtreecommitdiff
path: root/cups/adminutil.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2013-02-04 19:27:13 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2013-02-04 19:27:13 +0000
commitdb8b865d20076ba51626da16bb3a2e080b7d1104 (patch)
treef3b1f1c79136c17156eb55eb2c48c64446e79140 /cups/adminutil.c
parent0cb67df36975d4467f5247a561e4c3e04da41dc2 (diff)
Merge changes from CUPS 1.7svn-r10861.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4167 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/adminutil.c')
-rw-r--r--cups/adminutil.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cups/adminutil.c b/cups/adminutil.c
index dba769e0f..3fb6ac5a4 100644
--- a/cups/adminutil.c
+++ b/cups/adminutil.c
@@ -901,9 +901,8 @@ cupsAdminGetServerSettings(
if (!cg->http)
{
- if ((cg->http = _httpCreate(cupsServer(), ippPort(), NULL, AF_UNSPEC,
- cupsEncryption(), 1,
- _HTTP_MODE_CLIENT)) == NULL)
+ if ((cg->http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC,
+ cupsEncryption(), 1, 0, NULL)) == NULL)
{
if (errno)
_cupsSetError(IPP_SERVICE_UNAVAILABLE, NULL, 0);