From 76a084feeec208aff2bbfaa45c134592c1719600 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 7 Jul 2010 17:01:09 +0200 Subject: s3-winbindd: Fix child logfile handling which broke with c67cff0372. Andreas, please check. Guenther --- source3/winbindd/winbindd_dual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index 277b174306..ed8eb1339f 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -407,7 +407,7 @@ void setup_child(struct winbindd_domain *domain, struct winbindd_child *child, if (logprefix && logname) { char *logbase = NULL; - if (lp_logfile()) { + if (*lp_logfile()) { char *end = NULL; if (asprintf(&logbase, "%s", lp_logfile()) < 0) { -- cgit