Sam ERROR IN SDL_net!

i correct this in my icmp version

line 314:
change this:
if ( SDLNet_started-- == 0 ) {

into this:
if ( --SDLNet_started == 0 ) {

See ya !

i correct this in my icmp version

line 314:
change this:
if ( SDLNet_started-- == 0 ) {

into this:
if ( --SDLNet_started == 0 ) {

Oops, thanks!

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

“Sam Lantinga” ha scritto nel messaggio
news:E19t9aD-0001A4-00 at twomix.devolution.com

i correct this in my icmp version

line 314:
change this:
if ( SDLNet_started-- == 0 ) {

into this:
if ( --SDLNet_started == 0 ) {

Oops, thanks!

another correction !!!

Index: SDLnet.c===================================================================

RCS file: /home/sdlweb/libsdl.org/cvs/SDL_net/SDLnet.c,v

retrieving revision 1.10

diff -r1.10 SDLnet.c

180c180

< if ( SDLNet_started-- == 0 ) {


if ( --SDLNet_started == 0 ) {

282a283,292

#ifdef _WINSOCK2_H

/* Start up the windows networking */

WORD version_wanted = MAKEWORD(2,2);

WSADATA wsaData;

if ( WSAStartup(version_wanted, &wsaData) != 0 ) {

SDLNet_SetError(“Couldn’t initialize Winsock 2.0\n”);

return(-1);

}

#else

290a301

#endif //_WINSOCK2_H

303c314

< if ( SDLNet_started-- == 0 ) {


if ( --SDLNet_started == 0 ) {

***** CVS exited normally with code 1 *****