X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin%2Fapply.c;h=12ef9ea8afb0aa1e554e3ce6c6085e97ff7e7466;hb=a9c6305a7c14c0d5a49c485672b60526ec082d8c;hp=cf92f12a1bfd6e84dcdf60bb397587e6c7e3df8d;hpb=e8c8b7139c87c3e3017d3bff07f91c4349850d58;p=git.git diff --git a/builtin/apply.c b/builtin/apply.c index cf92f12a1..12ef9ea8a 100644 --- a/builtin/apply.c +++ b/builtin/apply.c @@ -56,7 +56,7 @@ static enum ws_error_action { nowarn_ws_error, warn_on_ws_error, die_on_ws_error, - correct_ws_error, + correct_ws_error } ws_error_action = warn_on_ws_error; static int whitespace_error; static int squelch_whitespace_errors = 5; @@ -64,7 +64,7 @@ static int applied_after_fixing_ws; static enum ws_ignore { ignore_ws_none, - ignore_ws_change, + ignore_ws_change } ws_ignore_action = ignore_ws_none; @@ -3394,7 +3394,7 @@ static void add_name_limit(const char *name, int exclude) { struct string_list_item *it; - it = string_list_append(name, &limit_by_name); + it = string_list_append(&limit_by_name, name); it->util = exclude ? NULL : (void *) 1; }