No more problems when protocols gets disabled during feeding.

This commit is contained in:
Martin Mares 2000-05-19 18:03:53 +00:00
parent dc6405d27e
commit 075898dea7

View file

@ -415,6 +415,8 @@ proto_feed_more(void *P)
struct proto *p = P;
DBG("Feeding protocol %s continued\n", p->name);
if (p->core_state != FS_FEEDING)
return;
if (rt_feed_baby(p))
{
p->core_state = FS_HAPPY;