Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Mon, 22 Aug 2005 20:31:27 +0000 (20:31 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Mon, 22 Aug 2005 20:31:27 +0000 (20:31 +0000)
- dump values of vars for -D to stdout as documented not stderr

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@426 e385b8ad-14ed-0310-8656-cc95a2468c6d

init.c

diff --git a/init.c b/init.c
index 3e34dc8..c9dbdcd 100644 (file)
--- a/init.c
+++ b/init.c
@@ -2289,7 +2289,7 @@ int mutt_dump_variables (void) {
       snprintf (command, sizeof (command), "set ?%s\n",
                 ((struct option_t*) tmp->data[i])->option);
       if (mutt_parse_rc_line (command, &token, &err) == -1) {
       snprintf (command, sizeof (command), "set ?%s\n",
                 ((struct option_t*) tmp->data[i])->option);
       if (mutt_parse_rc_line (command, &token, &err) == -1) {
-        fprintf (stderr, "%s\n", err.data);
+        printf ("%s\n", err.data);
         mem_free (&token.data);
         list_del (&tmp, NULL);
         return 1;
         mem_free (&token.data);
         list_del (&tmp, NULL);
         return 1;