[X2serv-cvs] CVS: x2/source parse.c,1.63,1.64
Brought to you by:
sirvulcan
From: Alex S. <ru...@us...> - 2001-04-25 11:39:09
|
Update of /cvsroot/x2serv/x2/source In directory usw-pr-cvs1:/tmp/cvs-serv21799 Modified Files: parse.c Log Message: fixed bug with new code which caused a crash when getting server notices Index: parse.c =================================================================== RCS file: /cvsroot/x2serv/x2/source/parse.c,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -r1.63 -r1.64 *** parse.c 2001/04/25 08:19:10 1.63 --- parse.c 2001/04/25 11:39:06 1.64 *************** *** 114,117 **** --- 114,120 ---- { char* to; + + if(!uptr) + return(0); to = (char *) strtok(rest, " "); rest = (char *) strtok(NULL, "\r\n\0"); |