Various Cleanups (realmd/)

This commit is contained in:
Schmoozerd 2012-07-19 21:59:38 +02:00
parent ed3220dbf2
commit a4cbed3199
10 changed files with 206 additions and 204 deletions

View file

@ -35,7 +35,8 @@ extern DatabaseType LoginDatabase;
// if you need more from old build then add it in cases in realmd sources code // if you need more from old build then add it in cases in realmd sources code
// list sorted from high to low build and first build used as low bound for accepted by default range (any > it will accepted by realmd at least) // list sorted from high to low build and first build used as low bound for accepted by default range (any > it will accepted by realmd at least)
static RealmBuildInfo ExpectedRealmdClientBuilds[] = { static RealmBuildInfo ExpectedRealmdClientBuilds[] =
{
{12340, 3, 3, 5, 'a'}, // highest supported build, also auto accept all above for simplify future supported builds testing {12340, 3, 3, 5, 'a'}, // highest supported build, also auto accept all above for simplify future supported builds testing
{11723, 3, 3, 3, 'a'}, {11723, 3, 3, 3, 'a'},
{11403, 3, 3, 2, ' '}, {11403, 3, 3, 2, ' '},
@ -168,7 +169,8 @@ void RealmList::UpdateRealms(bool init)
if (init) if (init)
sLog.outString("Added realm \"%s\"", fields[1].GetString()); sLog.outString("Added realm \"%s\"", fields[1].GetString());
} while( result->NextRow() ); }
while (result->NextRow());
delete result; delete result;
} }
} }