summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2018-12-31 16:06:53 -0800
committerKevin McCarthy <kevin@8t8.us>2018-12-31 16:06:53 -0800
commit443295ee65c3ebc5085fcab3cc9d533b0fac4f0f (patch)
treedc425cf8028e3b78c635148bfc0a905b1e800327 /main.c
parent1c59c27129b45b9f2cfd630428f57c643276b906 (diff)
Remove trailing whitespace.
The result of find . -name "*.[ch]" -exec emacs -batch {} \ --eval="(progn (delete-trailing-whitespace) (and (buffer-modified-p) (save-buffer)))" \;
Diffstat (limited to 'main.c')
-rw-r--r--main.c64
1 files changed, 32 insertions, 32 deletions
diff --git a/main.c b/main.c
index 347521ea..ed03a75b 100644
--- a/main.c
+++ b/main.c
@@ -2,21 +2,21 @@
* Copyright (C) 1996-2007,2010,2013 Michael R. Elkins <me@mutt.org>
* Copyright (C) 1999-2007 Thomas Roessler <roessler@does-not-exist.org>
* Copyright (C) 2004 g10 Code GmbH
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
+ */
#define MAIN_C 1
@@ -154,7 +154,7 @@ options:\n\
-m <type>\tspecify a default mailbox type\n\
-n\t\tcauses Mutt not to read the system Muttrc\n\
-p\t\trecall a postponed message");
-
+
puts _("\
-Q <variable>\tquery a configuration variable\n\
-R\t\topen mailbox in read-only mode\n\
@@ -218,7 +218,7 @@ static void show_version (void)
#endif
#ifdef HAVE_LIBIDN
- printf ("\nlibidn: %s (compiled with %s)", stringprep_check_version (NULL),
+ printf ("\nlibidn: %s (compiled with %s)", stringprep_check_version (NULL),
STRINGPREP_VERSION);
#endif
@@ -254,9 +254,9 @@ static void show_version (void)
#else
puts ("-DEBUG");
#endif
-
-
+
+
puts (
#ifdef HOMESPOOL
@@ -314,7 +314,7 @@ static void show_version (void)
"-USE_SMTP "
#endif
"\n"
-
+
#ifdef USE_SSL_OPENSSL
"+USE_SSL_OPENSSL "
#else
@@ -344,7 +344,7 @@ static void show_version (void)
"-HAVE_GETADDRINFO "
#endif
);
-
+
puts (
#ifdef HAVE_REGCOMP
"+HAVE_REGCOMP "
@@ -359,25 +359,25 @@ static void show_version (void)
#endif
"\n"
-
+
#ifdef HAVE_COLOR
"+HAVE_COLOR "
#else
"-HAVE_COLOR "
#endif
-
+
#ifdef HAVE_START_COLOR
"+HAVE_START_COLOR "
#else
"-HAVE_START_COLOR "
#endif
-
+
#ifdef HAVE_TYPEAHEAD
"+HAVE_TYPEAHEAD "
#else
"-HAVE_TYPEAHEAD "
#endif
-
+
#ifdef HAVE_BKGDSET
"+HAVE_BKGDSET "
#else
@@ -385,32 +385,32 @@ static void show_version (void)
#endif
"\n"
-
+
#ifdef HAVE_CURS_SET
"+HAVE_CURS_SET "
#else
"-HAVE_CURS_SET "
#endif
-
+
#ifdef HAVE_META
"+HAVE_META "
#else
"-HAVE_META "
#endif
-
+
#ifdef HAVE_RESIZETERM
"+HAVE_RESIZETERM "
#else
"-HAVE_RESIZETERM "
#endif
-
+
#ifdef HAVE_FUTIMENS
"+HAVE_FUTIMENS "
#else
"-HAVE_FUTIMENS "
#endif
- );
-
+ );
+
puts (
#ifdef CRYPT_BACKEND_CLASSIC_PGP
"+CRYPT_BACKEND_CLASSIC_PGP "
@@ -428,7 +428,7 @@ static void show_version (void)
"-CRYPT_BACKEND_GPGME "
#endif
);
-
+
puts (
#ifdef EXACT_ADDRESS
"+EXACT_ADDRESS "
@@ -443,7 +443,7 @@ static void show_version (void)
#endif
"\n"
-
+
#ifdef ENABLE_NLS
"+ENABLE_NLS "
#else
@@ -455,26 +455,26 @@ static void show_version (void)
#else
"-LOCALES_HACK "
#endif
-
+
#ifdef HAVE_WC_FUNCS
"+HAVE_WC_FUNCS "
#else
"-HAVE_WC_FUNCS "
#endif
-
+
#ifdef HAVE_LANGINFO_CODESET
"+HAVE_LANGINFO_CODESET "
#else
"-HAVE_LANGINFO_CODESET "
#endif
-
+
#ifdef HAVE_LANGINFO_YESEXPR
"+HAVE_LANGINFO_YESEXPR "
#else
"-HAVE_LANGINFO_YESEXPR "
#endif
-
+
"\n"
#if HAVE_ICONV
@@ -557,7 +557,7 @@ static void show_version (void)
puts(_(ReachingUs));
mutt_print_patchlist();
-
+
exit (0);
}
@@ -632,7 +632,7 @@ int main (int argc, char **argv, char **environ)
const char *exit_endwin_msg = NULL;
/* sanity check against stupid administrators */
-
+
if(getegid() != getgid())
{
fprintf(stderr, "%s: I don't want to run with privileges!\n",
@@ -676,7 +676,7 @@ int main (int argc, char **argv, char **environ)
for (optind = 1; optind < double_dash; )
{
/* We're getopt'ing POSIXLY, so we'll be here every time getopt()
- * encounters a non-option. That could be a file to attach
+ * encounters a non-option. That could be a file to attach
* (all non-options between -a and --) or it could be an address
* (which gets collapsed to the front of argv).
*/
@@ -762,7 +762,7 @@ int main (int argc, char **argv, char **environ)
case 'm':
/* should take precedence over .muttrc setting, so save it for later */
- newMagic = optarg;
+ newMagic = optarg;
break;
case 'n':
@@ -776,7 +776,7 @@ int main (int argc, char **argv, char **environ)
case 'Q':
queries = mutt_add_list (queries, optarg);
break;
-
+
case 'R':
flags |= MUTT_RO; /* read-only mode */
break;
@@ -951,7 +951,7 @@ int main (int argc, char **argv, char **environ)
char *bodytext = NULL, *bodyfile = NULL;
int rv = 0;
char expanded_infile[_POSIX_PATH_MAX];
-
+
if (!option (OPTNOCURSES))
mutt_flushinp ();