From 0456bcc90c4aa19488ddbe67a25dea50c6230e41 Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Thu, 6 Aug 2009 14:18:05 +0000 Subject: [PATCH] NULL is not '0' --- chan_capi_chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chan_capi_chat.c b/chan_capi_chat.c index 9696b4d..b21a172 100644 --- a/chan_capi_chat.c +++ b/chan_capi_chat.c @@ -399,7 +399,7 @@ static struct capichat_s *add_chat_member(char *roomname, struct capi_pvt *i, ro room->number = roomnumber; room->room_mode = room_mode; - for (tmproom = chat_list; tmproom != 0; tmproom = tmproom->next) { + for (tmproom = chat_list; tmproom != NULL; tmproom = tmproom->next) { if (tmproom->number == roomnumber) { tmproom->info &= ~PBX_CHAT_MEMBER_INFO_RECENT; }