git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cbb3b2
)
Ensure we do reinit_after_fork().
author
Jeremy Allison
<jra@samba.org>
Fri, 10 Oct 2008 23:43:13 +0000
(16:43 -0700)
committer
Jeremy Allison
<jra@samba.org>
Fri, 10 Oct 2008 23:43:13 +0000
(16:43 -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 6086bb858b0169d87e8ab8e860e5199572d97100..9326ac74a4e6f5e660668b238c9af3fada947c01 100644
(file)
--- a/
source3/printing/print_cups.c
+++ b/
source3/printing/print_cups.c
@@
-425,6
+425,11
@@
static bool cups_pcap_load_async(int *pfd)
}
/* Child. */
+ if (!reinit_after_fork(smbd_messaging_context(), true)) {
+ DEBUG(0,("cups_pcap_load_async: reinit_after_fork() failed\n"));
+ smb_panic("cups_pcap_load_async: reinit_after_fork() failed");
+ }
+
close(fds[0]);
cups_cache_reload_async(fds[1]);
close(fds[1]);