diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2015-10-19 18:49:28 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2015-10-19 18:49:28 +0000 |
commit | e67e2f9e9fc479417e4afc0011c74b49f3796d7e (patch) | |
tree | 90d0241abf1a53e1f64092ec19fc6e31e0d98b46 /systemv/lpstat.c | |
parent | 29d379ccb645d17e9065f2e68e73769af7247a83 (diff) |
Interface scripts are no longer supported for security reasons
(<rdar://problem/23135640>)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12904 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'systemv/lpstat.c')
-rw-r--r-- | systemv/lpstat.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/systemv/lpstat.c b/systemv/lpstat.c index 43e4c7a33..7bfadeb12 100644 --- a/systemv/lpstat.c +++ b/systemv/lpstat.c @@ -1835,11 +1835,7 @@ show_printers(const char *printers, /* I - Destinations */ { _cupsLangPuts(stdout, _("\tConnection: direct")); - if (make_model && strstr(make_model, "System V Printer")) - _cupsLangPrintf(stdout, - _("\tInterface: %s/interfaces/%s"), - cg->cups_serverroot, printer); - else if (make_model && !strstr(make_model, "Raw Printer")) + if (make_model && !strstr(make_model, "Raw Printer")) _cupsLangPrintf(stdout, _("\tInterface: %s/ppd/%s.ppd"), cg->cups_serverroot, printer); @@ -1958,11 +1954,7 @@ show_printers(const char *printers, /* I - Destinations */ { _cupsLangPuts(stdout, _("\tConnection: direct")); - if (make_model && strstr(make_model, "System V Printer")) - _cupsLangPrintf(stdout, - _("\tInterface: %s/interfaces/%s"), - cg->cups_serverroot, printer); - else if (make_model && !strstr(make_model, "Raw Printer")) + if (make_model && !strstr(make_model, "Raw Printer")) _cupsLangPrintf(stdout, _("\tInterface: %s/ppd/%s.ppd"), cg->cups_serverroot, printer); |