git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't reject a successful alloc :-(.
[samba.git]
/
source3
/
printing
/
print_cups.c
diff --git
a/source3/printing/print_cups.c
b/source3/printing/print_cups.c
index b46d83bb019f80a1641779e761adcf831a2d7fe2..b9bed7a138c7d1eebd8a5313dd59b06b009fe0ea 100644
(file)
--- 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;
}