summaryrefslogtreecommitdiff
path: root/cups/testadmin.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2013-03-11 13:57:36 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2013-03-11 13:57:36 +0000
commitcb7f98ee7f57af247aacb94977c8f744a1d02eca (patch)
tree9a777871fa4e4f9928ff960d52ffce2343df29d8 /cups/testadmin.c
parentc5b24bfa983a8b50262d8c3dd037e0181cfaae61 (diff)
downloadcups-cb7f98ee7f57af247aacb94977c8f744a1d02eca.tar.gz
Sync up with CUPS 1.7svn-r10893
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4216 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/testadmin.c')
-rw-r--r--cups/testadmin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cups/testadmin.c b/cups/testadmin.c
index a16025c3e..8119016ab 100644
--- a/cups/testadmin.c
+++ b/cups/testadmin.c
@@ -3,7 +3,7 @@
*
* Admin function test program for CUPS.
*
- * Copyright 2007-2010 by Apple Inc.
+ * Copyright 2007-2013 by Apple Inc.
* Copyright 2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
@@ -53,7 +53,8 @@ main(int argc, /* I - Number of command-line args */
* Connect to the server using the defaults...
*/
- http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption());
+ http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC,
+ cupsEncryption(), 1, 30000, NULL);
/*
* Set the current configuration if we have anything on the command-line...