winspool.drv: Fallback to cupsGetPPD if cupsGetPPD3 is missing or failed.
Huw Davies
huw at codeweavers.com
Mon Feb 11 03:11:55 CST 2013
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?
Huw.
More information about the wine-devel
mailing list