summaryrefslogtreecommitdiffstats
path: root/tdeprint/lpr/make_driver_db_lpr.c
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-20 12:13:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-20 12:13:02 -0600
commit880fec09182a500b7e19b5b1c73189040cf3421a (patch)
tree663d83e0b7d7c16ec0defcf674290aefd3c15304 /tdeprint/lpr/make_driver_db_lpr.c
parentcfa9446f2535a288f803412a996acb5dd741e8fb (diff)
downloadtdelibs-880fec09182a500b7e19b5b1c73189040cf3421a.tar.gz
tdelibs-880fec09182a500b7e19b5b1c73189040cf3421a.zip
Greatly increase database generation speed from compressed PPDs where possible
Diffstat (limited to 'tdeprint/lpr/make_driver_db_lpr.c')
-rw-r--r--tdeprint/lpr/make_driver_db_lpr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/lpr/make_driver_db_lpr.c b/tdeprint/lpr/make_driver_db_lpr.c
index 17fa25bf5..8febe4c2b 100644
--- a/tdeprint/lpr/make_driver_db_lpr.c
+++ b/tdeprint/lpr/make_driver_db_lpr.c
@@ -114,7 +114,7 @@ void initAps(const char *base)
gsversion = 1;
}
snprintf(drFile, 256, "apsfilter:%s/%s", base, d->d_name);
- addFile(drFile, "");
+ addFile(drFile, "", "");
}
closedir(apsdir);
}
@@ -199,7 +199,7 @@ void initIfhp(const char *base)
snprintf(path, 255, "lprngtool:%s/printerdb", base);
if (access(path+10, R_OK) == 0)
{
- addFile(path, "");
+ addFile(path, "", "");
}
}