FloooD / custom_cs2dsrv

Jermuk's custom Counter Strike 2D Server written in C and modified by FloooD and leegao.
173.192.35.85:36000
3 stars 0 forks source link

Ambiguous socket identifiers #7

Closed leegao closed 13 years ago

leegao commented 13 years ago

Minor: main.c uses readsocket while the rest of the program uses writesocket. However these sockets are passed in irregardless of the read-write state (read state is often flipped into write state mid execution in main) so the naming is really confusing. Should we just rename the readsockets into sock in main.c?

PS: this is already done in the experimental branch, I'll revert if you say no.

FloooD commented 13 years ago

go ahead :P

leegao commented 13 years ago

k, patched, it's in the pull queue