From 9d4f8bfecc30b6699685068dd4344b40733efdd1 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 14 Jul 2012 08:30:51 -0400 Subject: auth/factotum: fix flush (thanks Erik Quanstrom) R=rsc http://codereview.appspot.com/6402044 --- src/cmd/auth/factotum/fs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cmd/auth/factotum/fs.c b/src/cmd/auth/factotum/fs.c index 2edbc7b1..fd89b2c2 100644 --- a/src/cmd/auth/factotum/fs.c +++ b/src/cmd/auth/factotum/fs.c @@ -419,8 +419,9 @@ fswrite(Req *r) static void fsflush(Req *r) { - confirmflush(r); - logflush(r); + confirmflush(r->oldreq); + logflush(r->oldreq); + respond(r, nil); } static void -- cgit v1.2.3