Commit 7d482dfb 7d482dfb9b05e65a5ec8acdcdcd7acbdabc79e10 by Alain Magloire

The return value should be 0 for next and previous.

1 parent fc419399
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
4 by using (const char *name) in the argument. 4 by using (const char *name) in the argument.
5 * pop3d/pop3d.c: The variable state was already 5 * pop3d/pop3d.c: The variable state was already
6 use as a global, use "astate" in function pop3_parse_opt(). 6 use as a global, use "astate" in function pop3_parse_opt().
7 * mail/next.c: Wrong return value;
8 * mail/previous.c: Wrong return value;
7 9
8 2002-03-13 Alain Magloire 10 2002-03-13 Alain Magloire
9 11
......
...@@ -39,5 +39,5 @@ mail_next (int argc, char **argv) ...@@ -39,5 +39,5 @@ mail_next (int argc, char **argv)
39 msgset_free (list); 39 msgset_free (list);
40 } 40 }
41 util_do_command("print"); 41 util_do_command("print");
42 return 1; 42 return 0;
43 } 43 }
......
...@@ -40,5 +40,5 @@ mail_previous (int argc, char **argv) ...@@ -40,5 +40,5 @@ mail_previous (int argc, char **argv)
40 msgset_free (list); 40 msgset_free (list);
41 } 41 }
42 util_do_command ("print"); 42 util_do_command ("print");
43 return 1; 43 return 0;
44 } 44 }
......