Commit 41b2de6f authored by François Grisez's avatar François Grisez

Fix stringop-truncation GCC warning violation.

(cherry picked from commit e06fccea)
parent 17be28e9
......@@ -282,8 +282,7 @@ char * ortp_strcat_vprintf(char* dst, const char *fmt, va_list ap){
retlen = strlen(ret);
if ((dst = ortp_realloc(dst, dstlen+retlen+1)) != NULL){
dst[dstlen+retlen] = '\0';
return dst;
} else {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment