summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-10 15:48:25 +0200
committerGünther Deschner <gd@samba.org>2011-05-10 16:30:28 +0200
commit3ba3f68e03510e3bb5b7627c200af0395e853bc2 (patch)
treea81495cf66dc5f43cb259f5aa211d644ba488a8f
parent628fcd111af9b51020191a6ee916896c127c88c1 (diff)
downloadsamba-3ba3f68e03510e3bb5b7627c200af0395e853bc2.tar.gz
samba-3ba3f68e03510e3bb5b7627c200af0395e853bc2.tar.bz2
samba-3ba3f68e03510e3bb5b7627c200af0395e853bc2.zip
s3-printing: very obvious fix for cups_pull_comment_location().
This has been in there since 2008... Guenther
-rw-r--r--source3/printing/print_cups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index da42cb6f85..5ef44647fd 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -1633,7 +1633,7 @@ bool cups_pull_comment_location(TALLOC_CTX *mem_ctx,
} else {
server = talloc_strdup(frame,cupsServer());
}
- if (server) {
+ if (!server) {
goto out;
}
if (!push_utf8_talloc(frame, &sharename, printername, &size)) {