s3-printing: very obvious fix for cups_pull_comment_location().
authorGünther Deschner <gd@samba.org>
Tue, 10 May 2011 13:48:25 +0000 (15:48 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 10 May 2011 14:30:28 +0000 (16:30 +0200)
This has been in there since 2008...

Guenther

source3/printing/print_cups.c

index da42cb6f85dfa656fc1357a6351a80e4f4c8cae6..5ef44647fd3e5ccb417698b25f3122d346bef802 100644 (file)
@@ -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)) {