diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-12 12:30:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-12 12:30:34 +0000 |
commit | 6b49660d24022dd4637c69456f31de24264f9718 (patch) | |
tree | 06bcc2323eacd22413b4e16cd2d099436c279d4d /src/libutil/fstring.h | |
parent | 4a6835185d4e154d7b2ac026a05fbd18f1c05669 (diff) | |
download | rspamd-6b49660d24022dd4637c69456f31de24264f9718.tar.gz rspamd-6b49660d24022dd4637c69456f31de24264f9718.zip |
[Minor] Use sane HTTP codes in case of proxy errors
Diffstat (limited to 'src/libutil/fstring.h')
-rw-r--r-- | src/libutil/fstring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/fstring.h b/src/libutil/fstring.h index 6102215d4..730a59c1c 100644 --- a/src/libutil/fstring.h +++ b/src/libutil/fstring.h @@ -37,6 +37,7 @@ typedef struct f_str_s { #define RSPAMD_FSTRING_DATA(s) ((s)->str) #define RSPAMD_FSTRING_LEN(s) ((s)->len) +#define RSPAMD_FSTRING_LIT(lit) rspamd_fstring_new_init((lit), sizeof(lit) - 1) typedef struct f_str_tok { gsize len; |