Not quite sure how that one got past me..

This commit is contained in:
Julian Elischer 2004-06-26 01:22:29 +00:00
parent 5de776b9ac
commit 1020444971

View File

@ -2143,7 +2143,7 @@ ng_snd_item(item_p item, int queue)
/* Protect nodes from sending NULL pointers /* Protect nodes from sending NULL pointers
* to each other * to each other
*/ */
if (m == NULL) if (NGI_M(item) == NULL)
return (EINVAL); return (EINVAL);
CHECK_DATA_MBUF(NGI_M(item)); CHECK_DATA_MBUF(NGI_M(item));