aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-05 22:56:25 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-05 22:56:25 +0000
commit9c4a116cb3723679ac7836872b836f3344b8ca86 (patch)
tree762e654037ef3899ed21f3993f23e07d1341c5dd
parent4975494a06b068cadc334462696d0e78d5e0cc54 (diff)
downloadrspamd-9c4a116cb3723679ac7836872b836f3344b8ca86.tar.gz
rspamd-9c4a116cb3723679ac7836872b836f3344b8ca86.zip
Small fix to received parser.
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 3f9e72005..907893d91 100644
--- a/src/message.c
+++ b/src/message.c
@@ -510,7 +510,7 @@ parse_recv_header (memory_pool_t * pool, gchar *line, struct received_header *r)
/* Extract ip */
case RSPAMD_RECV_STATE_PARSE_IP:
- while (g_ascii_isdigit (*p) || *p == '.' || *p == ':') {
+ while (g_ascii_isxdigit (*p) || *p == '.' || *p == ':') {
p ++;
}
if (*p != ']') {