[SCM] Samba Shared Repository - branch master updated - 1d3dcd1e420104c23769b691d0b8b7958d5c58a7

Michael Adam obnox at samba.org
Mon Oct 27 12:01:55 GMT 2008


The branch, master has been updated
       via  1d3dcd1e420104c23769b691d0b8b7958d5c58a7 (commit)
      from  268caef85e831208aeebcd4d2d45baa5ed5025cb (commit)

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


- Log -----------------------------------------------------------------
commit 1d3dcd1e420104c23769b691d0b8b7958d5c58a7
Author: Michael Adam <obnox at samba.org>
Date:   Thu Oct 23 00:48:34 2008 +0200

    [s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it.
    
    Michael

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

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


Changeset truncated at 500 lines:

diff --git a/source3/lib/pidfile.c b/source3/lib/pidfile.c
index f49f8af..3495dae 100644
--- a/source3/lib/pidfile.c
+++ b/source3/lib/pidfile.c
@@ -93,7 +93,7 @@ void pidfile_create(const char *program_name)
 
 	/* Add a suffix to the program name if this is a process with a
 	 * none default configuration file name. */
-	if (strcmp( CONFIGFILE, get_dyn_CONFIGFILE()) == 0) {
+	if (is_default_dyn_CONFIGFILE()) {
 		name = SMB_STRDUP(program_name);
 	} else {
 		short_configfile = strrchr( get_dyn_CONFIGFILE(), '/');


-- 
Samba Shared Repository


More information about the samba-cvs mailing list