git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d151b3
)
Initialize near creation of resource. Makes code clearer.
author
Jeremy Allison
<jra@samba.org>
Fri, 10 Oct 2008 23:48:18 +0000
(16:48 -0700)
committer
Jeremy Allison
<jra@samba.org>
Fri, 10 Oct 2008 23:48:18 +0000
(16:48 -0700)
Jeremy.
source3/printing/print_cups.c
patch
|
blob
|
history
diff --git
a/source3/printing/print_cups.c
b/source3/printing/print_cups.c
index 9326ac74a4e6f5e660668b238c9af3fada947c01..ca3415ca5a0cfec652091eb64425e9364016c11e 100644
(file)
--- a/
source3/printing/print_cups.c
+++ b/
source3/printing/print_cups.c
@@
-553,6
+553,8
@@
bool cups_cache_reload(void)
return false;
}
+ *p_pipe_fd = -1;
+
/* Set up an async refresh. */
if (!cups_pcap_load_async(p_pipe_fd)) {
return false;