diff --git a/ChangeLog b/ChangeLog index 365fd9de..f829b425 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ $Id$ v0.91.3 11-Feb-2007 + mbselib: + Extra logging activated in MacroVars. + mbuser: Set default editor on erased records. diff --git a/lib/mbdiesel.c b/lib/mbdiesel.c index 1f9dcc54..090dddb5 100644 --- a/lib/mbdiesel.c +++ b/lib/mbdiesel.c @@ -68,7 +68,7 @@ void MacroVars( const char *codes, const char *fmt, ...) break; } 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]); // if (fmt[j] == 's') // Syslogp('!', printable(va_arg(ap, char *), 0));