hostname[1024],
resource[1024];
int port;
+#ifdef DEBUG
http_uri_status_t status; /* URI decode status */
+#endif /* DEBUG */
DEBUG_printf(("_httpResolveURI(uri=\"%s\", resolved_uri=%p, "
* Get the device URI...
*/
+#ifdef DEBUG
if ((status = httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme,
sizeof(scheme), userpass, sizeof(userpass),
hostname, sizeof(hostname), &port, resource,
sizeof(resource))) < HTTP_URI_OK)
+#else
+ if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme,
+ sizeof(scheme), userpass, sizeof(userpass),
+ hostname, sizeof(hostname), &port, resource,
+ sizeof(resource)) < HTTP_URI_OK)
+#endif /* DEBUG */
{
if (log)
_cupsLangPrintf(stderr, _("Bad device URI \"%s\"!\n"), uri);
cupsdLogMessage(CUPSD_LOG_ERROR, "Syntax error on line %d.", linenum);
if (FatalErrors & CUPSD_FATAL_CONFIG)
return (0);
+ else
+ continue;
}
if ((loc = cupsdCopyLocation(&parent)) == NULL)
cupsdLogMessage(CUPSD_LOG_ERROR, "Syntax error on line %d.", linenum);
if (FatalErrors & CUPSD_FATAL_CONFIG)
return (0);
+ else
+ continue;
}
/*
return (1);
}
- add_printer_filters(command, mime, printer, ppdfile, &prefilter_type);
+ printer_type = add_printer_filters(command, mime, printer, ppdfile,
+ &prefilter_type);
/*
* Get the source and destination types...