浏览代码

make imaps: on the command line adjust the port and ssl options as well

Oswald Buddenhagen 21 年之前
父节点
当前提交
424db34ff2
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main.c

+ 3 - 0
src/main.c

@@ -284,6 +284,9 @@ main (int argc, char **argv)
 		if (!strncasecmp ("imaps:", optarg, 6))
 		{
 		    global.use_imaps = 1;
+		    global.port = 993;
+		    global.use_sslv2 = 1;
+		    global.use_sslv3 = 1;
 		    optarg += 6;
 		}
 #endif