summaryrefslogtreecommitdiffstats
path: root/mbbsd/chess.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-27 00:14:01 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-27 00:14:01 +0800
commit6eaf609b1e9cc01df8057e30a82379ccf7e32d30 (patch)
treeca44eae890f0d11978b9d540e932cb0cac2ac6f2 /mbbsd/chess.c
parent9aea9f1fa692db1d9db6b55d78715f9ee22402ba (diff)
downloadpttbbs-6eaf609b1e9cc01df8057e30a82379ccf7e32d30.tar
pttbbs-6eaf609b1e9cc01df8057e30a82379ccf7e32d30.tar.gz
pttbbs-6eaf609b1e9cc01df8057e30a82379ccf7e32d30.tar.bz2
pttbbs-6eaf609b1e9cc01df8057e30a82379ccf7e32d30.tar.lz
pttbbs-6eaf609b1e9cc01df8057e30a82379ccf7e32d30.tar.xz
pttbbs-6eaf609b1e9cc01df8057e30a82379ccf7e32d30.tar.zst
pttbbs-6eaf609b1e9cc01df8057e30a82379ccf7e32d30.zip
more assertion for tracking bug.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3304 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chess.c')
-rw-r--r--mbbsd/chess.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/chess.c b/mbbsd/chess.c
index 26f82354..8606d652 100644
--- a/mbbsd/chess.c
+++ b/mbbsd/chess.c
@@ -859,6 +859,7 @@ ChessWatchRequest(int sig)
if (sock < 0)
return;
+ assert(CurrentPlayingGameInfo);
node = ChessBroadcastListInsert(&CurrentPlayingGameInfo->broadcast_list);
node->sock = sock;