From 1d3dcd1e420104c23769b691d0b8b7958d5c58a7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 23 Oct 2008 00:48:34 +0200 Subject: [s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it. Michael --- source3/lib/pidfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/pidfile.c') 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(), '/'); -- cgit