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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user