]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/socket.c
Merge CUPS 1.4svn-r7524.
[thirdparty/cups.git] / backend / socket.c
index 140061151c2ad49cbcc451eb9b809f7c799057a0..77a5802749da2261a757b2fa08e49029f94f073d 100644 (file)
@@ -160,7 +160,7 @@ main(int  argc,                             /* I - Number of command-line arguments (6 or 7) */
   * Extract the hostname and port number from the URI...
   */
 
-  httpSeparateURI(HTTP_URI_CODING_ALL, cupsBackendDeviceURI(argv),
+  httpSeparateURI(HTTP_URI_CODING_ALL, backendResolveURI(argv),
                   method, sizeof(method), username, sizeof(username),
                  hostname, sizeof(hostname), &port,
                  resource, sizeof(resource));
@@ -363,14 +363,14 @@ main(int  argc,                           /* I - Number of command-line arguments (6 or 7) */
   * See if the printer supports SNMP...
   */
 
-  if ((snmp_fd = cupsSNMPOpen(addr->addr.addr.sa_family)) >= 0)
+  if ((snmp_fd = _cupsSNMPOpen(addr->addr.addr.sa_family)) >= 0)
     if (backendSNMPSupplies(snmp_fd, &(addr->addr), &start_count, NULL))
     {
      /*
       * No, close it...
       */
 
-      cupsSNMPClose(snmp_fd);
+      _cupsSNMPClose(snmp_fd);
       snmp_fd = -1;
     }