sprintf audit.

This commit is contained in:
Bill Currie 2000-12-05 16:51:01 +00:00
parent b34504057c
commit 29970187d7
7 changed files with 8 additions and 7 deletions

View file

@ -242,7 +242,7 @@ Qprintf(QFile *file, const char *fmt, ...)
(void)vsprintf(buf, fmt, args);
#endif
va_end(args);
ret = strlen(buf); /* some *sprintf don't return the nb of bytes written */
ret = strlen(buf); /* some *snprintf don't return the nb of bytes written */
if (ret>0)
ret=gzwrite(file, buf, (unsigned)ret);
}