summaryrefslogtreecommitdiffstats
path: root/source3/printing/print_aix.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-13 10:02:42 +0200
committerGünther Deschner <gd@samba.org>2011-05-16 12:54:33 +0200
commit854467851da48e02dcd8f869cb031c8943707017 (patch)
tree0d5e7b3b5b84bb26a32f76fbb9a28f65ef686795 /source3/printing/print_aix.c
parentd4d31b31760ac1e7361f453564b63f17685bf58f (diff)
downloadsamba-854467851da48e02dcd8f869cb031c8943707017.tar.gz
samba-854467851da48e02dcd8f869cb031c8943707017.tar.xz
samba-854467851da48e02dcd8f869cb031c8943707017.zip
s3-printing: Get the location info from cups.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/printing/print_aix.c')
-rw-r--r--source3/printing/print_aix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/print_aix.c b/source3/printing/print_aix.c
index b7198d3632..23d9a86fe3 100644
--- a/source3/printing/print_aix.c
+++ b/source3/printing/print_aix.c
@@ -86,7 +86,7 @@ bool aix_cache_reload(void)
/* name is found without stanza device */
/* probably a good printer ??? */
iEtat = 0;
- if (!pcap_cache_add(name, NULL)) {
+ if (!pcap_cache_add(name, NULL, NULL)) {
SAFE_FREE(line);
x_fclose(pfile);
TALLOC_FREE(ctx);
@@ -101,7 +101,7 @@ bool aix_cache_reload(void)
} else if (strstr_m(line, "device")) {
/* it's a good virtual printer */
iEtat = 0;
- if (!pcap_cache_add(name, NULL)) {
+ if (!pcap_cache_add(name, NULL, NULL)) {
SAFE_FREE(line);
x_fclose(pfile);
TALLOC_FREE(ctx);