git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2767
d7cf8633-e32d-0410-b094-
e92efae38249
{
qsocket_t *ret;
int n;
- int numdrivers = net_numdrivers;
SetNetTime();
{
if (Q_strcasecmp (host, "local") == 0)
{
- numdrivers = 1;
- goto JustDoIt;
+ net_driverlevel = 0;
+ return dfunc.Connect (host);
}
if (hostCacheCount)
}
JustDoIt:
- for (net_driverlevel=0 ; net_driverlevel<numdrivers; net_driverlevel++)
+ for (net_driverlevel = 0;net_driverlevel < net_numdrivers;net_driverlevel++)
{
if (net_drivers[net_driverlevel].initialized == false)
continue;
PrintSlist();
PrintSlistTrailer();
}
-
+
return NULL;
}