diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-10-24 19:39:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-10-25 07:46:49 +0100 |
commit | 8568f4e445b50f1079790ade0b0d9b1f79eb7e3a (patch) | |
tree | 1e84a2a4470f5313d7ace172609a8e832beea072 /src/libutil/http_private.h | |
parent | 6c25c69781356431bbcc63457d9f3c388a311538 (diff) | |
download | rspamd-8568f4e445b50f1079790ade0b0d9b1f79eb7e3a.tar.gz rspamd-8568f4e445b50f1079790ade0b0d9b1f79eb7e3a.zip |
[Minor] Avoid unnecessary dynamic allocation
Diffstat (limited to 'src/libutil/http_private.h')
-rw-r--r-- | src/libutil/http_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/http_private.h b/src/libutil/http_private.h index 1433e37e4..0e2658617 100644 --- a/src/libutil/http_private.h +++ b/src/libutil/http_private.h @@ -26,9 +26,9 @@ * HTTP header structure */ struct rspamd_http_header { - rspamd_ftok_t *name; - rspamd_ftok_t *value; rspamd_fstring_t *combined; + rspamd_ftok_t name; + rspamd_ftok_t value; UT_hash_handle hh; struct rspamd_http_header *prev, *next; }; |