NULL != 0

This commit is contained in:
Stuart Henderson 2013-03-17 23:41:15 +00:00 committed by Mike Belopuhov
parent 939f631ae4
commit 1022119787

2
icb.c
View File

@ -316,7 +316,7 @@ icb_status(struct icb_session *is, int type, const char *fmt, ...)
{ STATUS_STATUS, "Status" },
{ STATUS_TOPIC, "Topic" },
{ STATUS_WARNING, "Warning" },
{ NULL, NULL }
{ 0, NULL }
};
if (type < 0 || type > (int)nitems(msgtab) - 1)