return (1);
}
- pc = _ppdCacheCreateWithPPD(ppd);
+ pc = _ppdCacheCreateWithPPD(NULL, ppd);
pc_attrs = create_attrs(pc);
gettimeofday(&endtime, NULL);
ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "job-creation-attributes-supported", sizeof(job_creation_print) / sizeof(job_creation_print[0]), NULL, job_creation_print);
}
- if ((ppd = _ppdOpenFile(ppd_name, _PPD_LOCALIZATION_NONE)) != NULL)
+ if ((ppd = ppdOpenFile(ppd_name)) != NULL)
{
/*
* Add make/model and other various attributes...