diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-24 18:07:28 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-24 18:07:28 +0400 |
commit | 3b0487ad7ca4227133c495f26b3a6ee6a08a5831 (patch) | |
tree | 35d229b9090805cc276b8bbe3e1d55dfb27f6566 /src/main.h | |
parent | c594689abf8dad487c16615d451f11021ac8de68 (diff) | |
download | rspamd-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.h | 4 |
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 |