diff options
author | Michael Sweet <michael.r.sweet@gmail.com> | 2017-07-24 17:29:07 -0400 |
---|---|---|
committer | Michael Sweet <michael.r.sweet@gmail.com> | 2017-07-24 17:29:07 -0400 |
commit | 5cc8588e8c6827b2780c667700de8acefa5439b6 (patch) | |
tree | 271359bad7b07de6a48190378899a286ad7015bb /scheduler | |
parent | f198f7e1e76cfed85b0c314f71a8e1a9eb85aef6 (diff) |
Fix the `ServerTokens None` option (Issue #5065)
Diffstat (limited to 'scheduler')
-rw-r--r-- | scheduler/conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/conf.c b/scheduler/conf.c index dcac7b60d..02d415c0d 100644 --- a/scheduler/conf.c +++ b/scheduler/conf.c @@ -3330,7 +3330,7 @@ read_cupsd_conf(cups_file_t *fp) /* I - File to read from */ cupsdSetStringf(&ServerHeader, CUPS_MINIMAL " (%s %s; %s) IPP/2.1", plat.sysname, plat.release, plat.machine); else if (!_cups_strcasecmp(value, "None")) - cupsdClearString(&ServerHeader); + cupsdSetString(&ServerHeader, ""); else cupsdLogMessage(CUPSD_LOG_WARN, "Unknown ServerTokens %s on line %d of %s.", value, linenum, ConfigurationFile); |