plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit efea318b2e7e4725ff850544fa2609a65a196845
parent 4bd43ca9da9fcbee9bd51ff14337319cf142cfd5
Author: rsc <devnull@localhost>
Date:   Mon, 28 Nov 2005 03:09:22 +0000

use role=client on passwd

Diffstat:
Msrc/cmd/upas/fs/imap4.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cmd/upas/fs/imap4.c b/src/cmd/upas/fs/imap4.c @@ -358,9 +358,9 @@ imap4login(Imap *imap) return "error in initial IMAP handshake"; if(imap->user != nil) - up = auth_getuserpasswd(auth_getkey, "proto=pass service=imap server=%q user=%q", imap->host, imap->user); + up = auth_getuserpasswd(auth_getkey, "proto=pass role=client service=imap server=%q user=%q", imap->host, imap->user); else - up = auth_getuserpasswd(auth_getkey, "proto=pass service=imap server=%q", imap->host); + up = auth_getuserpasswd(auth_getkey, "proto=pass role=client service=imap server=%q", imap->host); if(up == nil) return "cannot find IMAP password";