From 3ba3f68e03510e3bb5b7627c200af0395e853bc2 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 10 May 2011 15:48:25 +0200 Subject: s3-printing: very obvious fix for cups_pull_comment_location(). This has been in there since 2008... Guenther --- source3/printing/print_cups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/printing') 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)) { -- cgit