commit 5eaa4e5512a2d1011dc22333acab28cd7dbe5572
parent ea361ad11672ece96dbb2e056ae0c4b2725c1fc0
Author: Michael Elkins <me@mutt.org>
Date: Fri, 22 Jun 2001 23:30:41 +0000
--host option didn't check for imaps: prefix
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/main.c b/main.c
@@ -192,6 +192,11 @@ main (int argc, char **argv)
global.box = optarg;
break;
case 's':
+ if (!strncasecmp("imaps:", optarg, 6))
+ {
+ global.use_imaps = 1;
+ optarg += 6;
+ }
global.host = optarg;
break;
case 'u':