From: Vsevolod Stakhov Date: Sun, 5 Jan 2014 22:56:25 +0000 (+0000) Subject: Small fix to received parser. X-Git-Tag: 0.6.7~23 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9c4a116cb3723679ac7836872b836f3344b8ca86;p=rspamd.git Small fix to received parser. --- 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 != ']') {