diff options
-rw-r--r-- | intern/clog/clog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/clog/clog.c b/intern/clog/clog.c index 93822f9031d..291d5712973 100644 --- a/intern/clog/clog.c +++ b/intern/clog/clog.c @@ -166,6 +166,7 @@ static void clg_str_vappendf(CLogStringBuf *cstr, const char *fmt, va_list args) int retval = vsnprintf(cstr->data + cstr->len, len_avail, fmt, args_cpy); va_end(args_cpy); if (retval != -1) { + cstr->len += retval; break; } else { |