summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/aucat/aproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/aucat/aproc.c b/usr.bin/aucat/aproc.c
index d5ab22176f4..41f1158e98d 100644
--- a/usr.bin/aucat/aproc.c
+++ b/usr.bin/aucat/aproc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aproc.c,v 1.57 2010/05/02 11:12:31 ratchov Exp $ */
+/* $OpenBSD: aproc.c,v 1.58 2010/05/04 19:40:08 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -779,7 +779,7 @@ mix_in(struct aproc *p, struct abuf *ibuf)
if (!MIX_ROK(ibuf))
return 0;
scount = 0;
- odone = obuf->w.mix.todo;
+ odone = obuf->len;
for (i = LIST_FIRST(&p->ins); i != NULL; i = inext) {
inext = LIST_NEXT(i, ient);
if (i->r.mix.drop >= 0 && !abuf_fill(i))