Nico Golde:
authornion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Tue, 2 Aug 2005 13:56:20 +0000 (13:56 +0000)
committernion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Tue, 2 Aug 2005 13:56:20 +0000 (13:56 +0000)
- corrected little mistake in debug check code

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

main.c

diff --git a/main.c b/main.c
index 1fa246e..550b7d1 100644 (file)
--- a/main.c
+++ b/main.c
@@ -581,10 +581,10 @@ int main (int argc, char **argv)
     case 'd':
       debug_setlevel(atoi(optarg));
 #ifdef DEBUG
     case 'd':
       debug_setlevel(atoi(optarg));
 #ifdef DEBUG
-      if (atoi(optarg)<=3 && atoi(optoarg)>=0)
+      if (atoi(optarg)<=3 && atoi(optarg)>=0)
         printf (_("Debugging at level %d.\n"), atoi(optarg));
       else {
         printf (_("Debugging at level %d.\n"), atoi(optarg));
       else {
-        printf(_("Please specify a valid debugging level (0-3)\n"))
+        printf(_("Please specify a valid debugging level (0-3).\n"));
         return 1;
       }
 #else
         return 1;
       }
 #else