]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/testadmin.c
Sync up with CUPS 1.7svn-r10893
[thirdparty/cups.git] / cups / testadmin.c
index a16025c3e06e93b4d2362411082b61978c8ae75a..8119016ab50e3f8c03f838911415051924331065 100644 (file)
@@ -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...