better function name

This commit is contained in:
Albert S. 2015-05-11 12:33:10 +02:00
parent 8304fdf2ab
commit 8b668be219
1 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ static inline bool file_exists(const char *path)
} }
void add_ignore_list(const char *str) void add_to_ignore_list(const char *str)
{ {
*ignorelist_current = xmalloc(sizeof(struct ignorelist)); *ignorelist_current = xmalloc(sizeof(struct ignorelist));
(*ignorelist_current)->ignore = xstrdup(str); (*ignorelist_current)->ignore = xstrdup(str);
@ -495,7 +495,7 @@ void parse_options(int argc, char **argv)
forkbombcheck=false; forkbombcheck=false;
break; break;
case 'i': case 'i':
add_ignore_list(optarg); add_to_ignore_list(optarg);
break; break;
case 'q': case 'q':
silent=true; silent=true;