Add Multicast capabilities for LAN server scanning.
This commit is contained in:
1 parent
32bd0ab5bd
commit
eb3b59308b
10 files changed
+351
-153
No files matched your search
@@ -921,6 +921,18 @@ char *Q_CleanStr( char *string ) {
|
||||
return string;
|
||||
}
|
||||
|
||||
int Q_CountChar(const char *string, char tocount)
|
||||
{
|
||||
int count;
|
||||
|
||||
for(count = 0; *string; string++)
|
||||
{
|
||||
if(*string == tocount)
|
||||
count++;
|
||||
}
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
void QDECL Com_sprintf( char *dest, int size, const char *fmt, ...) {
|
||||
int len;
|
||||
|
||||
Reference in new issue
Block a user