Extra logging activated in MacroVars

This commit is contained in:
Michiel Broek 2007-02-12 19:35:22 +00:00
parent 8b0192b346
commit 92f2b4e3b2
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@ $Id$
v0.91.3 11-Feb-2007 v0.91.3 11-Feb-2007
mbselib:
Extra logging activated in MacroVars.
mbuser: mbuser:
Set default editor on erased records. Set default editor on erased records.

View File

@ -68,7 +68,7 @@ void MacroVars( const char *codes, const char *fmt, ...)
break; break;
} }
dieselrc = diesel(tmp1,tmp2); dieselrc = diesel(tmp1,tmp2);
if (dieselrc) { if (dieselrc || (fmt[j] == 's')) {
Syslog('!', "MacroVars error %d argument %d, macro %c type %c", dieselrc, j, codes[j], fmt[j]); Syslog('!', "MacroVars error %d argument %d, macro %c type %c", dieselrc, j, codes[j], fmt[j]);
// if (fmt[j] == 's') // if (fmt[j] == 's')
// Syslogp('!', printable(va_arg(ap, char *), 0)); // Syslogp('!', printable(va_arg(ap, char *), 0));