Module: wine Branch: master Commit: c4457ec19142392bd06014489cb6bac7cc98b5a2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c4457ec19142392bd06014489c... Author: Huw Davies <huw(a)codeweavers.com> Date: Mon Jul 9 13:28:32 2012 +0100 winspool: Don't assume that CUPS is available. --- dlls/winspool.drv/info.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c index bb530de..8027a1a 100644 --- a/dlls/winspool.drv/info.c +++ b/dlls/winspool.drv/info.c @@ -801,6 +801,8 @@ static http_status_t cupsGetPPD3_wrapper( http_t *http, const char *name, if (pcupsGetPPD3) return pcupsGetPPD3( http, name, modtime, buffer, bufsize ); + if (!pcupsGetPPD) return HTTP_NOT_FOUND; + TRACE( "No cupsGetPPD3 implementation, so calling cupsGetPPD\n" ); *modtime = 0;