fixed translate concat bug

This commit is contained in:
David Anderson 2006-02-22 01:05:09 +00:00
parent 2ba0b079ab
commit 484014e2db

View File

@ -374,7 +374,7 @@ reswitch:
const char *def = translate(amx, addr, key); const char *def = translate(amx, addr, key);
size_t written = atcprintf(buf_p, llen, def, amx, params, &arg); size_t written = atcprintf(buf_p, llen, def, amx, params, &arg);
buf_p += written; buf_p += written;
maxlen -= written; llen -= written;
break; break;
} }
case '%': case '%':