mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 23:41:46 +00:00
* net_main.c: added commentary on the driver checks in the code.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@202 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
1fc6e7c34c
commit
b2bb022eb5
1 changed files with 7 additions and 0 deletions
|
@ -80,6 +80,13 @@ cvar_t config_modem_hangup = {"_config_modem_hangup", "AT H", true};
|
||||||
#define sfunc net_drivers[sock->driver]
|
#define sfunc net_drivers[sock->driver]
|
||||||
#define dfunc net_drivers[net_driverlevel]
|
#define dfunc net_drivers[net_driverlevel]
|
||||||
|
|
||||||
|
/* NOTE: several sock->driver checks in the code serve the
|
||||||
|
purpose of ignoring local connections, because the loop
|
||||||
|
driver always takes number 0: it is the first member in
|
||||||
|
the net_drivers[] array. If you ever change that, such
|
||||||
|
as by removing the loop driver, you must re-visit those
|
||||||
|
checks and adjust them properly!. */
|
||||||
|
|
||||||
int net_driverlevel;
|
int net_driverlevel;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue