Commit 7c738c29 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

waiter: Dereference wp after checking it

parent aadc45de
......@@ -97,8 +97,8 @@ static void
vwp_add(struct vwp *vwp, struct waited *wp)
{
VSL(SLT_Debug, wp->fd, "ADD");
CHECK_OBJ_NOTNULL(wp, WAITED_MAGIC);
VSL(SLT_Debug, wp->fd, "ADD");
CHECK_OBJ_NOTNULL(vwp, VWP_MAGIC);
if (vwp->hpoll == vwp->npoll)
vwp_extend_pollspace(vwp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment