tuse role=client on passwd - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit efea318b2e7e4725ff850544fa2609a65a196845
DIR parent 4bd43ca9da9fcbee9bd51ff14337319cf142cfd5
HTML Author: rsc <devnull@localhost>
Date: Mon, 28 Nov 2005 03:09:22 +0000
use role=client on passwd
Diffstat:
M src/cmd/upas/fs/imap4.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/src/cmd/upas/fs/imap4.c b/src/cmd/upas/fs/imap4.c
t@@ -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";