- Fixed some compatibility issues with old releases of CUPS (Issue #5587)
- Fixed a bug in the scheduler job cleanup code (Issue #5588)
- "make" failed with GZIP options (Issue #5595)
+- The scheduler no longer provides a default value for the description
+ (Issue #5603)
- The `lpadmin` command did not always update the PPD file for changes to the
`cupsIPPSupplies` and `cupsSNMPSupplies` keywords (Issue #5610)
- The scheduler now uses both the group's membership list as well as the
}
else if (!_cups_strcasecmp(line, "Info"))
{
- if (value)
- cupsdSetString(&p->info, value);
+ cupsdSetString(&p->info, value ? value : "");
}
else if (!_cups_strcasecmp(line, "MakeModel"))
{
}
else if (!_cups_strcasecmp(line, "Location"))
{
- if (value)
- cupsdSetString(&p->location, value);
+ cupsdSetString(&p->location, value ? value : "");
}
else if (!_cups_strcasecmp(line, "GeoLocation"))
{
- if (value)
- cupsdSetString(&p->geo_location, value);
+ cupsdSetString(&p->geo_location, value ? value : "");
}
else if (!_cups_strcasecmp(line, "Organization"))
{
- if (value)
- cupsdSetString(&p->organization, value);
+ cupsdSetString(&p->organization, value ? value : "");
}
else if (!_cups_strcasecmp(line, "OrganizationalUnit"))
{
- if (value)
- cupsdSetString(&p->organizational_unit, value);
+ cupsdSetString(&p->organizational_unit, value ? value : "");
}
else if (!_cups_strcasecmp(line, "DeviceURI"))
{