Andreas Krennmair:
authorak1 <ak1@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Tue, 18 Oct 2005 08:09:10 +0000 (08:09 +0000)
committerak1 <ak1@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Tue, 18 Oct 2005 08:09:10 +0000 (08:09 +0000)
fixed wrong variable for -g commandline option. Thanks to Michael Prokop for hint.

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

main.c

diff --git a/main.c b/main.c
index 24eb705..d604a54 100644 (file)
--- a/main.c
+++ b/main.c
@@ -708,7 +708,7 @@ int main (int argc, char **argv)
       {
         char buf[LONG_STRING];
 
-        snprintf (buf, sizeof (buf), "set news_server=%s", optarg);
+        snprintf (buf, sizeof (buf), "set nntp_host=%s", optarg);
         commands = mutt_add_list (commands, buf);
       }