summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/print_cups.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 9326ac74a4..ca3415ca5a 100644
--- 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;