]> source.dussan.org Git - rspamd.git/commitdiff
Small fix to received parser.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 5 Jan 2014 22:56:25 +0000 (22:56 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 5 Jan 2014 22:56:25 +0000 (22:56 +0000)
src/message.c

index 3f9e72005928974708191bbf64cf939c4e2ee689..907893d91d0e20ff20ad6517f2332e33caea1273 100644 (file)
@@ -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 != ']') {