aboutsummaryrefslogtreecommitdiffstats
path: root/src/url.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-03 20:29:27 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-03 20:29:27 +0300
commit65f15e69284e38d5bbf2177f4466975eca5779b8 (patch)
tree2966f19baebf839fe02b5823b054a9539d921e6c /src/url.h
parent99cb83cd06ca693a032616361bd0b1ae1efabdba (diff)
downloadrspamd-65f15e69284e38d5bbf2177f4466975eca5779b8.tar.gz
rspamd-65f15e69284e38d5bbf2177f4466975eca5779b8.zip
* New module for checking emails inside messages (rules based, like multimap)
* Emails now are separated from urls and urls checks * Add ability to check text attachements if option is presented in a configuration Version is 0.3.6 now
Diffstat (limited to 'src/url.h')
-rw-r--r--src/url.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/url.h b/src/url.h
index 6b08682ba..eb11ceba3 100644
--- a/src/url.h
+++ b/src/url.h
@@ -60,7 +60,7 @@ enum uri_errno {
URI_ERRNO_NO_HOST_SLASH, /* Slash after host missing */
URI_ERRNO_IPV6_SECURITY, /* IPv6 security bug detected */
URI_ERRNO_INVALID_PORT, /* Port number is bad */
- URI_ERRNO_INVALID_PORT_RANGE, /* Port number is not within 0-65535 */
+ URI_ERRNO_INVALID_PORT_RANGE /* Port number is not within 0-65535 */
};
enum protocol {
@@ -68,8 +68,8 @@ enum protocol {
PROTOCOL_FTP,
PROTOCOL_HTTP,
PROTOCOL_HTTPS,
-
- PROTOCOL_UNKNOWN,
+ PROTOCOL_MAILTO,
+ PROTOCOL_UNKNOWN
};
#define struri(uri) ((uri)->string)