From 9c4a116cb3723679ac7836872b836f3344b8ca86 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 5 Jan 2014 22:56:25 +0000 Subject: [PATCH] Small fix to received parser. --- src/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 != ']') { -- 2.39.5