Skip to content
Snippets Groups Projects
Commit 7b4ac912 authored by deuce's avatar deuce
Browse files

Whoops, forgot to commit this fixup.

parent 98f085cc
No related branches found
No related tags found
No related merge requests found
......@@ -877,7 +877,7 @@ CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(const char *fmat, ...)
va_end(argptr);
#else
#if defined(_MSC_VER) || define(__MSVCRT__)
#if defined(_MSC_VER) || defined(__MSVCRT__)
ret=_vsnprintf(str,sizeof(str)-1,fmat,argptr);
#else
......@@ -895,7 +895,7 @@ CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(const char *fmat, ...)
ret=vsprintf(str,fmat,argptr2);
#endif
va_end(argptr);
#if defined(_MSC_VER) || define(__MSVCRT__)
#if !(defined(_MSC_VER) || defined(__MSVCRT__))
va_end(argptr2);
#endif
if(ret>=0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment