diff options
author | Jeremy Allison <jra@samba.org> | 2008-10-02 12:21:11 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-10-02 12:21:11 -0700 |
commit | e0dbac6873b816384f570ad8a7ceea7c96573d00 (patch) | |
tree | 29bef0c1550d80b73d5733beeb9b9e511e019ea1 /source3 | |
parent | a25fac13ebd6ffc1e5eac25182636cfa298435f4 (diff) | |
download | samba-e0dbac6873b816384f570ad8a7ceea7c96573d00.tar.gz samba-e0dbac6873b816384f570ad8a7ceea7c96573d00.tar.bz2 samba-e0dbac6873b816384f570ad8a7ceea7c96573d00.zip |
Don't reject a successful alloc :-(.
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/print_cups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index b46d83bb01..b9bed7a138 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -71,7 +71,7 @@ static http_t *cups_connect(TALLOC_CTX *frame) } else { server = talloc_strdup(frame,cupsServer()); } - if (server) { + if (!server) { return NULL; } |