aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-05-24 18:07:28 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-05-24 18:07:28 +0400
commit3b0487ad7ca4227133c495f26b3a6ee6a08a5831 (patch)
tree35d229b9090805cc276b8bbe3e1d55dfb27f6566 /src/main.h
parentc594689abf8dad487c16615d451f11021ac8de68 (diff)
downloadrspamd-3b0487ad7ca4227133c495f26b3a6ee6a08a5831.tar.gz
rspamd-3b0487ad7ca4227133c495f26b3a6ee6a08a5831.zip
* Fix error in raw headers parsing
* Improve speed of raw headers access
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h
index 186ee9baa..d8f90b03f 100644
--- a/src/main.h
+++ b/src/main.h
@@ -206,12 +206,12 @@ struct worker_task {
InternetAddressList *rcpts; /**< list of all recipients */
GList *parts; /**< list of parsed parts */
GList *text_parts; /**< list of text parts */
- gchar *raw_headers; /**< list of raw headers */
+ gchar *raw_headers_str; /**< list of raw headers */
GList *received; /**< list of received headers */
GTree *urls; /**< list of parsed urls */
GTree *emails; /**< list of parsed emails */
GList *images; /**< list of images */
- GList *raw_headers_list; /**< list of raw headers */
+ GHashTable *raw_headers; /**< list of raw headers */
GHashTable *results; /**< hash table of metric_result indexed by
* metric's name */
GHashTable *tokens; /**< hash table of tokens indexed by tokenizer