aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 15:34:00 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 15:34:00 +0400
commitac9d66b9a80f49235b21de577764c5457544cc66 (patch)
tree89aa5ec5b7a4009ba7b09bb2f05934d55e3b95c8 /src/fuzzy_storage.h
parentab8f97db48ceefef5fdf47ea8a5954da635ffa31 (diff)
downloadrspamd-ac9d66b9a80f49235b21de577764c5457544cc66.tar.gz
rspamd-ac9d66b9a80f49235b21de577764c5457544cc66.zip
* Store sockaddr in large enough buffer
Diffstat (limited to 'src/fuzzy_storage.h')
-rw-r--r--src/fuzzy_storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fuzzy_storage.h b/src/fuzzy_storage.h
index b03acfacb..1630171e4 100644
--- a/src/fuzzy_storage.h
+++ b/src/fuzzy_storage.h
@@ -21,8 +21,8 @@ struct fuzzy_session {
struct fuzzy_cmd cmd;
int fd;
u_char *pos;
- int salen;
- struct sockaddr sa;
+ socklen_t salen;
+ struct sockaddr_storage sa;
};
void start_fuzzy_storage (struct rspamd_worker *worker);