summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-07 17:01:09 +0200
committerGünther Deschner <gd@samba.org>2010-07-07 17:01:09 +0200
commit76a084feeec208aff2bbfaa45c134592c1719600 (patch)
tree38174961dcb760e34c41eae11a87ddd4937f1ebc
parent0da5e153787b461ea9ba5ac5353a0046a5a26e07 (diff)
downloadsamba-76a084feeec208aff2bbfaa45c134592c1719600.tar.gz
samba-76a084feeec208aff2bbfaa45c134592c1719600.tar.bz2
samba-76a084feeec208aff2bbfaa45c134592c1719600.zip
s3-winbindd: Fix child logfile handling which broke with c67cff0372.
Andreas, please check. Guenther
-rw-r--r--source3/winbindd/winbindd_dual.c2
1 files changed, 1 insertions, 1 deletions
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) {