Commit 54d98a14 54d98a145825e7372a78abeae5e076032e834330 by Sergey Poznyakoff

(mail_set): Fixed inconsistency in passing arguments to strtoul().

1 parent caf9721f
...@@ -52,7 +52,7 @@ mail_set (int argc, char **argv) ...@@ -52,7 +52,7 @@ mail_set (int argc, char **argv)
52 if (i >= argc) 52 if (i >= argc)
53 break; 53 break;
54 54
55 nval = strtoul (argv[i], &p, NULL); 55 nval = strtoul (argv[i], &p, 0);
56 if (*p == 0) 56 if (*p == 0)
57 util_setenv (name, &nval, Mail_env_number, 1); 57 util_setenv (name, &nval, Mail_env_number, 1);
58 else 58 else
......