rem: sprintf(Msg_delayed, "\a***  %s  ***", strim(0, tmp));
add: snprintf(Msg_delayed, sizeof(Msg_delayed), "\a***  %s  ***", strim(0, tmp));
context: static void msg_save (const char *fmts, ...){   char tmp[SMLBUFSIZ];   va_list va;   va_start(va, fmts);   vsnprintf(tmp, sizeof(tmp), fmts, va);   va_end(va);      /* we'll add some extra attention grabbers to whatever this is */   sprintf(Msg_delayed, "\a***  %s  ***", strim(0, tmp));   Msg_awaiting = 1;}