diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-12-07 09:53:08 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-12-07 09:53:08 +0100 |
commit | 950706198644c4715efbc95ec79857fd4fa55353 (patch) | |
tree | 585bcd04140cbaf7e8b788b68ba737d6555be897 /sys/src/cmd/cwfs/srv.c | |
parent | 52b500af6185068233ff021b2160463192f69ef0 (diff) |
cwfs: allow previously authorized channels to attach as none
we allow allow previously authorized channels to attach as none
even if anonymous logins are disabled with nonone.
Diffstat (limited to 'sys/src/cmd/cwfs/srv.c')
-rw-r--r-- | sys/src/cmd/cwfs/srv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/cwfs/srv.c b/sys/src/cmd/cwfs/srv.c index 813ac8337..f05aabc87 100644 --- a/sys/src/cmd/cwfs/srv.c +++ b/sys/src/cmd/cwfs/srv.c @@ -182,6 +182,7 @@ srvchan(int fd, char *name) chan->msize = 0; chan->whotime = 0; snprint(chan->whochan, sizeof(chan->whochan), "%s", name); + chan->authok = 0; incref(srv); srv->chan = chan; |