]> diplodocus.org Git - nmh/blobdiff - config/config.c
mhlsbr.c: Don't strchr(3) non-string NUL-less buffer.
[nmh] / config / config.c
index 5b08db28b7fb6f1934bb1193b98cc22dc03a7a6b..fa3df3bd8068d99ad46772bac8c1a76fb701ee72 100644 (file)
@@ -77,7 +77,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;
 }