[SCM] Samba Shared Repository - branch master updated - 47f7ef8f39ba482a7d6578ab82c9e0670381c4f8

Jeremy Allison jra at samba.org
Fri Oct 10 23:48:55 GMT 2008


The branch, master has been updated
       via  47f7ef8f39ba482a7d6578ab82c9e0670381c4f8 (commit)
      from  1d151b3161b1bf82898baa9eb9dd1f212b79e2a1 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 47f7ef8f39ba482a7d6578ab82c9e0670381c4f8
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Oct 10 16:48:18 2008 -0700

    Initialize near creation of resource. Makes code clearer.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source3/printing/print_cups.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 9326ac7..ca3415c 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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list