diff options
Diffstat (limited to 'http-backend.c')
-rw-r--r-- | http-backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http-backend.c b/http-backend.c index 0e7af4eebb..8ec15f99c0 100644 --- a/http-backend.c +++ b/http-backend.c @@ -90,7 +90,7 @@ static struct string_list *get_parameters(void) char *value = decode_parameter(&query, 0); struct string_list_item *i; - i = string_list_lookup(name, query_params); + i = string_list_lookup(query_params, name); if (!i) i = string_list_insert(query_params, name); else @@ -104,7 +104,7 @@ static struct string_list *get_parameters(void) static const char *get_parameter(const char *name) { struct string_list_item *i; - i = string_list_lookup(name, get_parameters()); + i = string_list_lookup(get_parameters(), name); return i ? i->util : NULL; } |