From ec52c3b9dadc91c7c5b27d6ff0e2b736b1be0b5a Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 30 May 2006 17:41:04 +0000 Subject: [PATCH] Skip transfer logging if the logfile_format string is empty. --- log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.c b/log.c index 28513985..01fb10e0 100644 --- a/log.c +++ b/log.c @@ -687,7 +687,7 @@ void log_item(enum logcode code, struct file_struct *file, log_formatted(FNAME, stdout_format, s_or_r, file, initial_stats, iflags, hlink); } - if (code != FNAME && logfile_format) { + if (code != FNAME && logfile_format && *logfile_format) { log_formatted(FLOG, logfile_format, s_or_r, file, initial_stats, iflags, hlink); } -- 2.34.1