]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin/apply.c
string_list: Fix argument order for string_list_lookup
[git.git] / builtin / apply.c
index 57151225fe9b1cb55678597e3bc8b5c5b706e659..cf92f12a1bfd6e84dcdf60bb397587e6c7e3df8d 100644 (file)
@@ -2628,7 +2628,7 @@ static struct patch *in_fn_table(const char *name)
        if (name == NULL)
                return NULL;
 
-       item = string_list_lookup(name, &fn_table);
+       item = string_list_lookup(&fn_table, name);
        if (item != NULL)
                return (struct patch *)item->util;