소스 검색

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