소스 검색

forgot conditional #if HAVE_LIBSSL around setting of .use_imaps in main()
from command line arguments

Michael Elkins 24 년 전
부모
커밋
cb2f6e3ee6
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      main.c

+ 3 - 1
main.c

@@ -198,11 +198,13 @@ main (int argc, char **argv)
 		global.box = optarg;
 		break;
 	    case 's':
-		if (!strncasecmp("imaps:", optarg, 6))
+#if HAVE_LIBSSL
+		if (!strncasecmp ("imaps:", optarg, 6))
 		{
 		    global.use_imaps = 1;
 		    optarg += 6;
 		}
+#endif
 		global.host = optarg;
 		break;
 	    case 'u':