summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-10-02 12:21:11 -0700
committerJeremy Allison <jra@samba.org>2008-10-02 12:21:11 -0700
commite0dbac6873b816384f570ad8a7ceea7c96573d00 (patch)
tree29bef0c1550d80b73d5733beeb9b9e511e019ea1 /source3
parenta25fac13ebd6ffc1e5eac25182636cfa298435f4 (diff)
downloadsamba-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.c2
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;
}