]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - systemv/accept.c
Load cups into easysw/current.
[thirdparty/cups.git] / systemv / accept.c
index e0cc817d1d2283e683de678033e20e35cfe1b6cf..6ffbfb167ec28fda559db4e5a67b995c4d8eba46 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: accept.c 4990 2006-01-26 02:21:45Z mike $"
+ * "$Id: accept.c 5023 2006-01-29 14:39:44Z mike $"
  *
  *   "accept", "disable", "enable", and "reject" commands for the Common
  *   UNIX Printing System (CUPS).
@@ -206,8 +206,8 @@ main(int  argc,                             /* I - Number of command-line arguments */
 
       request = ippNewRequest(op);
 
-      httpAssembleURIf(uri, sizeof(uri), "ipp", NULL, "localhost", 0,
-                       "/printers/%s", argv[i]);
+      httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL,
+                       "localhost", 0, "/printers/%s", argv[i]);
       ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI,
                    "printer-uri", NULL, uri);
 
@@ -286,5 +286,5 @@ main(int  argc,                             /* I - Number of command-line arguments */
 
 
 /*
- * End of "$Id: accept.c 4990 2006-01-26 02:21:45Z mike $".
+ * End of "$Id: accept.c 5023 2006-01-29 14:39:44Z mike $".
  */