aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r--src/libserver/url.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libserver/url.h b/src/libserver/url.h
index 11177492d..249c316e4 100644
--- a/src/libserver/url.h
+++ b/src/libserver/url.h
@@ -39,8 +39,9 @@ enum rspamd_url_flags {
RSPAMD_URL_FLAG_CONTENT = 1u << 21u,
RSPAMD_URL_FLAG_NO_TLD = 1u << 22u,
RSPAMD_URL_FLAG_TRUNCATED = 1u << 23u,
+ RSPAMD_URL_FLAG_REDIRECT_TARGET = 1u << 24u,
};
-#define RSPAMD_URL_MAX_FLAG_SHIFT (24u)
+#define RSPAMD_URL_MAX_FLAG_SHIFT (25u)
struct rspamd_url_tag {
const gchar *data;
@@ -53,7 +54,7 @@ struct rspamd_url {
gchar *raw;
gchar *visible_part;
- struct rspamd_url *phished_url;
+ struct rspamd_url *linked_url;
guint32 flags;