aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-11-28 03:09:22 +0000
committerrsc <devnull@localhost>2005-11-28 03:09:22 +0000
commitefea318b2e7e4725ff850544fa2609a65a196845 (patch)
treeed88c0c6af096791e18eee61b1ae802acc1250f8
parent4bd43ca9da9fcbee9bd51ff14337319cf142cfd5 (diff)
downloadplan9port-efea318b2e7e4725ff850544fa2609a65a196845.tar.gz
plan9port-efea318b2e7e4725ff850544fa2609a65a196845.tar.bz2
plan9port-efea318b2e7e4725ff850544fa2609a65a196845.zip
use role=client on passwd
-rw-r--r--src/cmd/upas/fs/imap4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/upas/fs/imap4.c b/src/cmd/upas/fs/imap4.c
index bc51089b..dd67f64d 100644
--- 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";