aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/http.c')
-rw-r--r--src/libutil/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c
index 73954474c..d15633f8e 100644
--- a/src/libutil/http.c
+++ b/src/libutil/http.c
@@ -2393,7 +2393,7 @@ rspamd_http_message_parse_query (struct rspamd_http_message *msg)
g_assert (key != NULL);
if (p > c) {
value = g_string_sized_new (p - c);
- g_string_append_len (key, c, p - c);
+ g_string_append_len (value, c, p - c);
value->len = rspamd_decode_url (value->str, value->str,
value->len);
}