--host option didn't check for imaps: prefix

This commit is contained in:
Michael Elkins 2001-06-22 23:30:41 +00:00
parent ea361ad116
commit 5eaa4e5512

5
main.c
View File

@ -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':