From c3c5355230bca697f9be7f525390bd759e1c3121 Mon Sep 17 00:00:00 2001 From: zacheiss Date: Fri, 31 Oct 2008 20:39:56 +0000 Subject: [PATCH] Pathname vs. service name normalization. --- gen/cups-print.pc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen/cups-print.pc b/gen/cups-print.pc index 633c623c..f6f5f51b 100644 --- a/gen/cups-print.pc +++ b/gen/cups-print.pc @@ -70,7 +70,7 @@ int main(int argc, char **argv) EXEC SQL DECLARE csr_hosts CURSOR FOR SELECT m.name FROM machine m, serverhosts sh - WHERE m.mach_id = sh.mach_id AND sh.service = 'CUPS' AND sh.enable = 1; + WHERE m.mach_id = sh.mach_id AND sh.service = 'CUPS-PRINT' AND sh.enable = 1; EXEC SQL OPEN csr_hosts; while (1) { @@ -128,7 +128,7 @@ void do_host(char *host) EXEC SQL SELECT mach_id INTO :rm FROM machine WHERE name = :spoolhost; - sprintf(filename, "%s/print/%s", DCM_DIR, host); + sprintf(filename, "%s/cups-print/%s", DCM_DIR, host); tf = tarfile_open(filename); /* printers.conf */ -- 2.45.1