aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2012-07-14 08:30:51 -0400
committerRuss Cox <rsc@swtch.com>2012-07-14 08:30:51 -0400
commit9d4f8bfecc30b6699685068dd4344b40733efdd1 (patch)
treed45d0b8500934dcf010f1c36042e4e5dcf5023ac /src
parent63550fce0e1984590710f332abb46a4c73491ebd (diff)
downloadplan9port-9d4f8bfecc30b6699685068dd4344b40733efdd1.tar.gz
plan9port-9d4f8bfecc30b6699685068dd4344b40733efdd1.tar.bz2
plan9port-9d4f8bfecc30b6699685068dd4344b40733efdd1.zip
auth/factotum: fix flush (thanks Erik Quanstrom)
R=rsc http://codereview.appspot.com/6402044
Diffstat (limited to 'src')
-rw-r--r--src/cmd/auth/factotum/fs.c5
1 files 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