The branch, v3-2-test has been updated via 98d86dcbd898f48748bbfbe1066a7014d25392d1 (commit) from b6b5f92bc9457220df384bdb13530c393d294ce7 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit 98d86dcbd898f48748bbfbe1066a7014d25392d1 Author: Jeremy Allison <[EMAIL PROTECTED]> Date: Mon Dec 3 14:11:45 2007 -0800 Last pstring here. Jeremy. ----------------------------------------------------------------------- Summary of changes: source/winbindd/winbindd_cm.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/source/winbindd/winbindd_cm.c b/source/winbindd/winbindd_cm.c index 7da7a82..b64937d 100644 --- a/source/winbindd/winbindd_cm.c +++ b/source/winbindd/winbindd_cm.c @@ -208,10 +208,12 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain) close_conns_after_fork(); if (!override_logfile) { - pstring logfile; - pstr_sprintf(logfile, "%s/log.winbindd-dc-connect", dyn_LOGFILEBASE); - lp_set_logfile(logfile); - reopen_logs(); + char *logfile; + if (asprintf(&logfile, "%s/log.winbindd-dc-connect", dyn_LOGFILEBASE) > 0) { + lp_set_logfile(logfile); + SAFE_FREE(logfile); + reopen_logs(); + } } mem_ctx = talloc_init("fork_child_dc_connect"); -- Samba Shared Repository