diff options
author | Michael Adam <obnox@samba.org> | 2008-10-23 00:48:34 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-10-27 13:02:37 +0100 |
commit | 1d3dcd1e420104c23769b691d0b8b7958d5c58a7 (patch) | |
tree | bf3ebce01a72ab88e25d3b672ecde810f4b20677 | |
parent | 268caef85e831208aeebcd4d2d45baa5ed5025cb (diff) | |
download | samba-1d3dcd1e420104c23769b691d0b8b7958d5c58a7.tar.gz samba-1d3dcd1e420104c23769b691d0b8b7958d5c58a7.tar.bz2 samba-1d3dcd1e420104c23769b691d0b8b7958d5c58a7.zip |
[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it.
Michael
-rw-r--r-- | source3/lib/pidfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/pidfile.c b/source3/lib/pidfile.c index f49f8afbb6..3495dae5c2 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(), '/'); |