(mail_set): Fixed inconsistency in passing arguments to strtoul().
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment