From cb2f6e3ee624d7616c37b90efc4f5f5fa0f95da3 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Wed, 3 Oct 2001 06:18:45 +0000 Subject: [PATCH] forgot conditional #if HAVE_LIBSSL around setting of .use_imaps in main() from command line arguments --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index f7bfbff..58b5cea 100644 --- a/main.c +++ b/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':