insanely overpowered serverbrowser favourites

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4446 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-05-27 12:44:22 +00:00
parent 2aea13c150
commit 7d5117c085
8 changed files with 375 additions and 56 deletions
+5 -3
View File
@@ -538,13 +538,15 @@ bool isbigendian()
return !(*((char *)(&one)));
}
void strtoupper(char *s)
void strtoupper(char *t, const char *s)
{
if(!s) s = t;
while(*s)
{
*s = toupper(*s);
s++;
*t = toupper(*s);
t++; s++;
}
*t = '\0';
}
const char *atoip(const char *s, enet_uint32 *ip)