mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-03 03:16:01 -04:00
hopefully implement va_end properly - may require some fixes or reverts, partial or full
This commit is contained in:
@@ -1554,7 +1554,7 @@ SessionApiClient* ConnectionServer::getSessionApiClient()
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void ConnectionServer::setDone(char const *reasonfmt, ...)
|
||||
void ConnectionServer::setDone(char const reasonfmt, ...)
|
||||
{
|
||||
if (!done)
|
||||
{
|
||||
@@ -1579,6 +1579,7 @@ void ConnectionServer::setDone(char const *reasonfmt, ...)
|
||||
reason));
|
||||
|
||||
done = true;
|
||||
va_end(ap);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ class ConnectionServer : public MessageDispatch::Receiver
|
||||
public:
|
||||
static void install();
|
||||
static void remove();
|
||||
void setDone(char const *reasonfmt, ...);
|
||||
void setDone(char const reasonfmt, ...);
|
||||
|
||||
~ConnectionServer ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user