[XBlast-commit] xblast user.c,1.7,1.8
Brought to you by:
alfie
From: Fernando B. <isk...@us...> - 2005-05-14 15:34:57
|
Update of /cvsroot/xblast/xblast In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16961 Modified Files: user.c Log Message: fix bug when terminating server Index: user.c =================================================================== RCS file: /cvsroot/xblast/xblast/user.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- user.c 7 Mar 2005 15:31:23 -0000 1.7 +++ user.c 14 May 2005 15:34:46 -0000 1.8 @@ -225,9 +225,14 @@ * send disconnect sequence, will shutdown after send */ void -User_SendDisconnect() { +User_SendDisconnect() { + if (comm != NULL) { Dbg_User("queueing disconnect sequence to central\n"); X2C_SendDisconnect(comm); + + } else { + Dbg_User("already disconnected from central\n"); + } } /* User_SendDisconnect */ /* |