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:
268caef
)
[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it.
author
Michael Adam
<obnox@samba.org>
Wed, 22 Oct 2008 22:48:34 +0000
(
00:48
+0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 27 Oct 2008 12:02:37 +0000
(13:02 +0100)
Michael
source3/lib/pidfile.c
patch
|
blob
|
history
diff --git
a/source3/lib/pidfile.c
b/source3/lib/pidfile.c
index f49f8afbb6a5a1d59108c0e212f667b240631454..3495dae5c284745aa2ff1851d672aaeea87a1467 100644
(file)
--- 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(), '/');