diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-27 21:23:30 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-27 21:23:30 +0000 |
| commit | b877ae23ac5d380ab3aa48d7724045cf4883b186 (patch) | |
| tree | 681e903940def23cc75d4b67eac092721c46e761 | |
| parent | a0f73cf7421e55e84b61065b4eb7ed13b05ce055 (diff) | |
- oprava chyby -- server sa pri obsluhe "status" zrutil
git-svn-id: http://opensvn.csie.org/tuxanci_ng@76 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
| -rw-r--r-- | config.h | 2 | ||||
| -rw-r--r-- | src/server.c | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -6,7 +6,7 @@ #define DEBUG_CLIENT_RECV */ -#define TUXANCI_NG_VERSION "svn75" +#define TUXANCI_NG_VERSION "svn76" #define DESTDIR "/usr/local/" #define SUPPORT_NET_UNIX_UDP diff --git a/src/server.c b/src/server.c index dcc475c..7d5c198 100644 --- a/src/server.c +++ b/src/server.c @@ -430,6 +430,11 @@ static void addMsgAllClientSeesTux(char *msg, tux_t *tux, int type, int id) thisClient = (client_t *)listClient->list[i]; thisTux = (tux_t *)thisClient->tux; + if( thisTux == NULL ) + { + continue; + } + if( tux != thisTux && isTuxSeesTux(thisTux, tux) ) { |