forgot conditional #if HAVE_LIBSSL around setting of .use_imaps in main()
from command line arguments
This commit is contained in:
parent
bfffeffff6
commit
cb2f6e3ee6
1 changed files with 3 additions and 1 deletions
4
main.c
4
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':
|
||||
|
|
Loading…
Add table
Reference in a new issue