]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix format string bug (STR #2373)
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 30 Apr 2007 17:16:16 +0000 (17:16 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 30 Apr 2007 17:16:16 +0000 (17:16 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6483 7a7537e8-13f0-0310-91df-b6672ffda945

scheduler/dirsvc.c

index 84d5881d03c9f24cbfcab92aed1c629686a881fe..0969ae9803b3e126505ada5002c416acbced80cd 100644 (file)
@@ -2931,7 +2931,7 @@ send_cups_browse(cupsd_printer_t *p)      /* I - Printer to send */
        {
          httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL,
                           iface->hostname, iface->port,
-                          (p->type & CUPS_PRINTER_CLASS) ? "/classes/%s%s" :
+                          (p->type & CUPS_PRINTER_CLASS) ? "/classes/%s" :
                                                            "/printers/%s",
                           p->name);
          snprintf(packet, sizeof(packet), "%x %x %s \"%s\" \"%s\" \"%s\" %s\n",