}
}
-#ifdef USE_NNTP
- if (buffy || option(OPTNEWS))
-#else
- if (buffy)
-#endif
+ if (buffy || option(OPTNEWS)) /* USE_NNTP */
{
strfcpy(f, state.entry[menu->current].name, flen);
mutt_expand_path(f, flen);
argv[nargc++] = argv[optind];
}
-#ifdef USE_NNTP
+ /* USE_NNTP 'g:G' */
if ((i = getopt(argc, argv,
"+A:a:Bb:F:f:c:Dd:l:Ee:g:GH:s:i:hm:npQ:RSvxyzZ")) != EOF)
-#else
- if ((i = getopt(argc, argv,
- "+A:a:Bb:F:f:c:Dd:l:Ee:H:s:i:hm:npQ:RSvxyzZ")) != EOF)
-#endif
switch (i)
{
case 'A':
else if (!option(OPTNOCURSES) && !(flags & SENDMAILX))
{
mutt_message(i != 0 ? _("Sending in background.") :
-#ifdef USE_NNTP
- (flags & SENDNEWS) ? _("Article posted.") :
+ (flags & SENDNEWS) ? _("Article posted.") : /* USE_NNTP */
_("Mail sent."));
-#else
- _("Mail sent."));
-#endif
#ifdef USE_NOTMUCH
if (option(OPTNOTMUCHRECORD))
nm_record_message(ctx, finalpath, cur);
}
else if (thepid != -1)
{
-#ifndef USE_IMAP
- /* wait for the (first) child process to finish */
- waitpid(thepid, &rc, 0);
-#else
+#ifdef USE_IMAP
rc = imap_wait_keepalive(thepid);
#endif
}
#endif
#ifdef USE_COMPRESSED
{ "USE_COMPRESSED", 1 },
-#else
- { "USE_COMPRESSED", 0 },
#endif
#ifdef USE_DOTLOCK
{ "USE_DOTLOCK", 1 },
#endif
#ifdef USE_IMAP
{ "USE_IMAP", 1 },
-#else
- { "USE_IMAP", 0 },
#endif
#ifdef USE_LUA
{ "USE_LUA", 1 },
#endif
#ifdef USE_NNTP
{ "USE_NNTP", 1 },
-#else
- { "USE_NNTP", 0 },
#endif
#ifdef USE_POP
{ "USE_POP", 1 },
-#else
- { "USE_POP", 0 },
#endif
#ifdef USE_SASL
{ "USE_SASL", 1 },
#endif
#ifdef USE_SMTP
{ "USE_SMTP", 1 },
-#else
- { "USE_SMTP", 0 },
#endif
#ifdef USE_SSL_GNUTLS
{ "USE_SSL_GNUTLS", 1 },