diff options
| author | forsyth <forsyth@vitanuova.com> | 2010-02-21 12:11:43 +0000 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2010-02-21 12:11:43 +0000 |
| commit | c93eaa9a36d5071c19f42debcef978afd89ec994 (patch) | |
| tree | c3a3b8048c3ceaf7aa887922f754826c74ff1591 /appl/cmd/auth | |
| parent | aee7f58dfcd519d45482e45ab1ce6026c846dc21 (diff) | |
20100221-1211
Diffstat (limited to 'appl/cmd/auth')
| -rw-r--r-- | appl/cmd/auth/keyfs.b | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appl/cmd/auth/keyfs.b b/appl/cmd/auth/keyfs.b index f81c3ee7..f1f1a25a 100644 --- a/appl/cmd/auth/keyfs.b +++ b/appl/cmd/auth/keyfs.b @@ -415,6 +415,7 @@ serveloop(tchan: chan of ref Tmsg, srv: ref Styxserver, pidc: chan of int, navop } case TYPE(c.path) { Quser => + srv.delfid(c); u := finduserpath(c.path); if(u == nil){ srv.reply(ref Rmsg.Error(m.tag, Eremoved)); @@ -422,9 +423,9 @@ serveloop(tchan: chan of ref Tmsg, srv: ref Styxserver, pidc: chan of int, navop } removeuser(u); writekeys(keyfile); - srv.delfid(c); srv.reply(ref Rmsg.Remove(m.tag)); Qsecret => + srv.delfid(c); u := finduserpath(c.path); if(u == nil){ srv.reply(ref Rmsg.Error(m.tag, Eremoved)); @@ -432,7 +433,6 @@ serveloop(tchan: chan of ref Tmsg, srv: ref Styxserver, pidc: chan of int, navop } u.secret = nil; writekeys(keyfile); - srv.delfid(c); srv.reply(ref Rmsg.Remove(m.tag)); * => srv.remove(m); # let it reject it |
