Index: cups/dest.c =================================================================== --- cups/dest.c (revision 8777) +++ cups/dest.c (working copy) @@ -557,7 +557,7 @@ * configuration file does not exist. Find out the real default. */ - if (!cups_get_sdests(http, CUPS_GET_DEFAULT, name, 0, &dest)) + if (!cups_get_sdests(http, CUPS_GET_DEFAULT, NULL, 0, &dest)) return (NULL); } @@ -1800,7 +1800,7 @@ ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); - if (name) + if (name && op != CUPS_GET_DEFAULT) { httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, "localhost", ippPort(), "/printers/%s", name);