diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-23 22:13:39 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-23 22:13:39 +0000 |
commit | 7fcf40d88893e07a26cde8d266a18f0ac6b30ccd (patch) | |
tree | 5fa86fc2f146b7f108c847aabd6377cc0bd01deb /src/libutil/addr.h | |
parent | 59d6fe4f5787005f48bfd9fe32d5b85e763312b4 (diff) | |
download | rspamd-7fcf40d88893e07a26cde8d266a18f0ac6b30ccd.tar.gz rspamd-7fcf40d88893e07a26cde8d266a18f0ac6b30ccd.zip |
Use port when calculating listen socket hash.
Diffstat (limited to 'src/libutil/addr.h')
-rw-r--r-- | src/libutil/addr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/addr.h b/src/libutil/addr.h index 1ea0ab8b5..a13c14b53 100644 --- a/src/libutil/addr.h +++ b/src/libutil/addr.h @@ -202,8 +202,8 @@ gint rspamd_inet_address_compare (const rspamd_inet_addr_t *a1, * @param a2 * @return */ -gint rspamd_inet_address_compare_ptr (const gpointer a1, - const gpointer a2); +gint rspamd_inet_address_compare_ptr (gconstpointer a1, + gconstpointer a2); /** * Performs deep copy of rspamd inet addr * @param addr |