Imported Upstream version 1.7.6p1
[debian/sudo] / goodpath.c
index 197131427373c4af33155d3e4d7dabe2c727e0ef..45066d3c66f569191c1a35e45d251592dd589606 100644 (file)
@@ -50,18 +50,18 @@ sudo_goodpath(path, sbp)
 
     /* Check for brain damage */
     if (path == NULL || path[0] == '\0')
-       return(NULL);
+       return NULL;
 
     if (stat(path, &sb))
-       return(NULL);
+       return NULL;
 
     /* Make sure path describes an executable regular file. */
     if (!S_ISREG(sb.st_mode) || !(sb.st_mode & 0000111)) {
        errno = EACCES;
-       return(NULL);
+       return NULL;
     }
 
     if (sbp != NULL)
        (void) memcpy(sbp, &sb, sizeof(struct stat));
-    return((char *)path);
+    return (char *)path;
 }