mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Fix wrong pairing of va_start and va_end
This commit is contained in:
parent
1bbca4ca40
commit
5f29608ebf
1 changed files with 2 additions and 2 deletions
|
|
@ -63,12 +63,12 @@ void msg_warning(const char* format, ...)
|
|||
fprintf(stdlog, "msg:warning: ");
|
||||
vfprintf(stdlog, format, ap);
|
||||
fflush(stdlog);
|
||||
va_start(ap, format);
|
||||
va_end(ap);
|
||||
} else {
|
||||
va_start(ap, format);
|
||||
vfprintf(stderr, format, ap);
|
||||
fflush(stderr);
|
||||
va_start(ap, format);
|
||||
va_end(ap);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue