devstream: fix mistake
This commit is contained in:
parent
64136bfd16
commit
157b7751e7
|
@ -425,7 +425,7 @@ streamdrain(Chan *c)
|
|||
qunlock(&s->wql);
|
||||
nexterror();
|
||||
}
|
||||
while(!streamdrained(s))
|
||||
while(!isdrained(s))
|
||||
sleep(&s->wz, isdrained, s);
|
||||
qunlock(&s->wql);
|
||||
poperror();
|
||||
|
|
Loading…
Reference in a new issue