diff options
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c index 0fe8588e7..5e8484e24 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -1810,7 +1810,7 @@ rspamd_http_message_from_url (const gchar *url) } msg->host = rspamd_fstring_new_init (host, pu.field_data[UF_HOST].len); - msg->url = rspamd_fstring_new_init (path, pathlen); + msg->url = rspamd_fstring_append (msg->url, path, pathlen); return msg; } |