Browse Source

forgot conditional #if HAVE_LIBSSL around setting of .use_imaps in main()

from command line arguments
0.9
Michael Elkins 24 years ago
parent
commit
cb2f6e3ee6
  1. 2
      main.c

2
main.c

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

Loading…
Cancel
Save