standardize on "return foo;" rather than "return(foo);" or "return (foo);"

This commit is contained in:
Todd C. Miller
2011-01-24 15:15:18 -05:00
parent 3316ac8ebc
commit ae2f7638f5
68 changed files with 843 additions and 843 deletions

View File

@@ -74,13 +74,13 @@ find_path(char *infile, char **outfile, struct stat *sbp, char *path,
strlcpy(command, infile, sizeof(command)); /* paranoia */
if (sudo_goodpath(command, sbp)) {
*outfile = command;
return(FOUND);
return FOUND;
} else
return(NOT_FOUND);
return NOT_FOUND;
}
if (path == NULL)
return(NOT_FOUND);
return NOT_FOUND;
path = estrdup(path);
origpath = path;
@@ -121,12 +121,12 @@ find_path(char *infile, char **outfile, struct stat *sbp, char *path,
errorx(1, "%s: File name too long", infile);
result = sudo_goodpath(command, sbp);
if (result && ignore_dot)
return(NOT_FOUND_DOT);
return NOT_FOUND_DOT;
}
if (result) {
*outfile = result;
return(FOUND);
return FOUND;
} else
return(NOT_FOUND);
return NOT_FOUND;
}