hopefully implement va_end properly - may require some fixes or reverts, partial or full

This commit is contained in:
DarthArgus
2015-04-02 20:25:00 -05:00
parent bc33f176c2
commit 1b7d4c6283
15 changed files with 81 additions and 22 deletions
@@ -535,7 +535,7 @@ uint32 PlayerShipController::getCurSyncStamp() const
// ----------------------------------------------------------------------
void PlayerShipController::logMoveFail(char const *reasonFmt, ...) const
void PlayerShipController::logMoveFail(char const reasonFmt, ...) const
{
ShipObject const * const ship = NON_NULL(getShipOwner());
Client const * const client = NON_NULL(ship->getClient());
@@ -554,6 +554,7 @@ void PlayerShipController::logMoveFail(char const *reasonFmt, ...) const
client->getCharacterObjectId().getValueString().c_str(),
client->getStationId(),
reason));
va_end(ap);
}
// ----------------------------------------------------------------------