eval: Do not use S_LEN as snprintf argument

This commit is contained in:
ZyX
2017-03-05 02:51:44 +03:00
parent 38dd81c136
commit 3bf87a5a6b

View File

@@ -20004,7 +20004,8 @@ trans_function_name(
EMSG(_(e_usingsid)); EMSG(_(e_usingsid));
goto theend; goto theend;
} }
sid_buf_len = snprintf(S_LEN(sid_buf), "%" PRIdSCID "_", current_SID); sid_buf_len = snprintf(sid_buf, sizeof(sid_buf),
"%" PRIdSCID "_", current_SID);
lead += sid_buf_len; lead += sid_buf_len;
} }
} else if (!(flags & TFN_INT) } else if (!(flags & TFN_INT)