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 6c9617ae5..6a9f6e6ce 100644
--- a/src/libutil/http.c
+++ b/src/libutil/http.c
@@ -1733,7 +1733,7 @@ rspamd_http_message_from_url (const gchar *url)
}
msg->host = rspamd_fstring_new_init (host, pu.field_data[UF_HOST].len);
- msg->host = rspamd_fstring_append (msg->url, path, pathlen);
+ msg->host = rspamd_fstring_append (msg->host, path, pathlen);
return msg;
}