Make sudo_goodpath() return value bolean

This commit is contained in:
Todd C. Miller
2011-11-13 12:11:00 -05:00
parent 5c29710f35
commit f3ae31185b
3 changed files with 19 additions and 25 deletions

View File

@@ -207,7 +207,7 @@ struct timeval;
#define YY_DECL int yylex(void)
/* goodpath.c */
char *sudo_goodpath(const char *, struct stat *);
int sudo_goodpath(const char *, struct stat *);
/* findpath.c */
int find_path(char *, char **, struct stat *, char *, int);