mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-02 03:16:11 -04:00
hopefully implement va_end properly - may require some fixes or reverts, partial or full
This commit is contained in:
@@ -311,7 +311,7 @@ void DatabaseProcess::run(void)
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void DatabaseProcess::setDone(char const *reasonfmt, ...)
|
||||
void DatabaseProcess::setDone(char const reasonfmt, ...)
|
||||
{
|
||||
if (!done)
|
||||
{
|
||||
@@ -336,7 +336,8 @@ void DatabaseProcess::setDone(char const *reasonfmt, ...)
|
||||
static_cast<int>(getProcessId()),
|
||||
static_cast<int>(Os::getProcessId()),
|
||||
reason));
|
||||
|
||||
|
||||
va_end(ap);
|
||||
done = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user