From 5eaa4e5512a2d1011dc22333acab28cd7dbe5572 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Fri, 22 Jun 2001 23:30:41 +0000 Subject: [PATCH] --host option didn't check for imaps: prefix --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index 53c64d8..29a7365 100644 --- 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':