summaryrefslogtreecommitdiffstats
path: root/src/map.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-11-30 19:26:06 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-11-30 19:26:06 +0300
commit4dce4df79683f5562d557ef80f8e2a648aacf5e8 (patch)
tree411bbc76c26b974340047d854d51bbc42f331e0e /src/map.h
parent569df8dd24eb159b069ca7f5efa6a6ba3336d63d (diff)
downloadrspamd-4dce4df79683f5562d557ef80f8e2a648aacf5e8.tar.gz
rspamd-4dce4df79683f5562d557ef80f8e2a648aacf5e8.zip
* Adopt printf function from nginx for comfortable printing of some data types (fixed strings, pids etc)
* Fix work of http maps (they were broken in some places before) * Fix sync of statfiles (not fully tested yet)
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index c5029b958..fa8669de3 100644
--- a/src/map.h
+++ b/src/map.h
@@ -28,6 +28,8 @@ struct http_map_data {
char *host;
time_t last_checked;
gboolean chunked;
+ u_char read_buf[BUFSIZ];
+ uint32_t rlen;
uint32_t chunk;
uint32_t chunk_read;
};