diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-30 00:56:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-30 00:56:18 +0000 |
commit | 7190809e19680ec753e3bde866f0c3f81fafae21 (patch) | |
tree | add4ca7732a5f9e4949dc12396447e83683b3b84 /src/libutil/http.h | |
parent | 023abb060f52cb2f401905dfbb4e2ce0af271273 (diff) | |
download | rspamd-7190809e19680ec753e3bde866f0c3f81fafae21.tar.gz rspamd-7190809e19680ec753e3bde866f0c3f81fafae21.zip |
Fix peer keys handling.
Diffstat (limited to 'src/libutil/http.h')
-rw-r--r-- | src/libutil/http.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/http.h b/src/libutil/http.h index 83a284a52..c290d803c 100644 --- a/src/libutil/http.h +++ b/src/libutil/http.h @@ -58,7 +58,7 @@ struct rspamd_http_message { GString *status; struct rspamd_http_header *headers; GString *body; - GString *peer_key; + gpointer peer_key; enum http_parser_type type; time_t date; gint code; @@ -201,7 +201,7 @@ void rspamd_http_connection_key_unref (gpointer key); */ gpointer rspamd_http_connection_key_ref (gpointer key); -GString *rspamd_http_connection_make_peer_key (const gchar *key); +gpointer rspamd_http_connection_make_peer_key (const gchar *key); /** * Handle a request using socket fd and user data ud |