Fixed a typo that set stdout_format_has_i instead of logfile_format_has_i.
authorWayne Davison <wayned@samba.org>
Thu, 1 Jun 2006 06:49:15 +0000 (06:49 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 1 Jun 2006 06:49:15 +0000 (06:49 +0000)
options.c

index 1727d4b..04a5654 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1316,7 +1316,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
                        logfile_format_has_i = logfile_format_has_o_or_i = 1;
                } else {
                        if (log_format_has(logfile_format, 'i'))
                        logfile_format_has_i = logfile_format_has_o_or_i = 1;
                } else {
                        if (log_format_has(logfile_format, 'i'))
-                               stdout_format_has_i = 2;
+                               logfile_format_has_i = 1;
                        if (logfile_format_has_i || log_format_has(logfile_format, 'o'))
                                logfile_format_has_o_or_i = 1;
                }
                        if (logfile_format_has_i || log_format_has(logfile_format, 'o'))
                                logfile_format_has_o_or_i = 1;
                }