Skip to content

Commit

Permalink
printers.c: Set .strings file path if PPD cache is valid (fixes #710)
Browse files Browse the repository at this point in the history
  • Loading branch information
zdohnal committed Jun 1, 2023
1 parent 43b5360 commit 3c89347
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scheduler/printers.c
Original file line number Diff line number Diff line change
Expand Up @@ -1024,10 +1024,6 @@ cupsdLoadAllPrinters(void)
{
cupsdSetString(&p->organizational_unit, value ? value : "");
}
else if (!_cups_strcasecmp(line, "Strings"))
{
cupsdSetString(&p->strings, value ? value : "");
}
else if (!_cups_strcasecmp(line, "DeviceURI"))
{
if (value)
Expand Down Expand Up @@ -1517,9 +1513,6 @@ cupsdSaveAllPrinters(void)
if (printer->organizational_unit)
cupsFilePutConf(fp, "OrganizationalUnit", printer->organizational_unit);

if (printer->strings)
cupsFilePutConf(fp, "Strings", printer->strings);

cupsFilePutConf(fp, "DeviceURI", printer->device_uri);

if (printer->port_monitor)
Expand Down

0 comments on commit 3c89347

Please sign in to comment.