Huw Davies huw@codeweavers.com wrote:
On Mon, Feb 11, 2013 at 02:03:26PM +0800, Dmitry Timoshkov wrote:
- if (pcupsGetPPD3) return pcupsGetPPD3( http, name, modtime, buffer, bufsize );
- if (pcupsGetPPD3)
- {
http_status_t status;
TRACE( "Calling cupsGetPPD3\n" );
status = pcupsGetPPD3( http, name, modtime, buffer, bufsize );
if (status == HTTP_OK) return HTTP_OK;
TRACE("cupsGetPPD3 failed (status %d)\n", status);
- }
Under what conditions does cupsGetPPD succeed if cupsGetPPD3 fails?
I don't have full understanding of what is going on, but sometimes (!) cupsGetPPD3 returns 404, while cupsGetPPD works just fine here. Perhaps that's just another Ubuntu quirk.