Fix compilation with --enable-assert=soft.

This commit is contained in:
Jilles Tjoelker 2009-04-08 21:30:58 +02:00
parent 0c73c94217
commit 6d4df0e35c
2 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
struct Message *mptr; struct Message *mptr;
s_assert(MyConnect(client_p)); s_assert(MyConnect(client_p));
s_assert(client_p->localClient->F->fd >= 0); s_assert(client_p->localClient->F != NULL);
if(IsAnyDead(client_p)) if(IsAnyDead(client_p))
return; return;

View File

@ -35,6 +35,7 @@
#include "stdinc.h" #include "stdinc.h"
#include "s_user.h" #include "s_user.h"
#include "snomask.h"
#include "match.h" #include "match.h"
#include "substitution.h" #include "substitution.h"