X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/3b6170b27ba8fedbb4d67d2842bfaa38d4417962..080568bfb0056607359204678f84d23c74f02832:/config/config.c diff --git a/config/config.c b/config/config.c index 5b08db28..2511472e 100644 --- a/config/config.c +++ b/config/config.c @@ -23,6 +23,7 @@ * 3) Next, check in nmh Mail directory. * 4) Next, check in nmh `etc' directory. * + * Does not return NULL. */ char * @@ -77,7 +78,7 @@ try_it: /* Check nmh `etc' directory */ snprintf (epath, sizeof(epath), nmhetcdir(/%s), file); - return (access (epath, R_OK) != NOTOK ? epath : file); + return access(epath, R_OK) != NOTOK ? epath : file; }