*/ | */ | ||||
comma = rspamd_memrchr (hdr->begin, ',', hdr->len); | comma = rspamd_memrchr (hdr->begin, ',', hdr->len); | ||||
if (comma != NULL) { | if (comma != NULL) { | ||||
while (comma < hdr->begin + hdr->len && g_ascii_isspace (*comma)) { | |||||
while (comma < hdr->begin + hdr->len && | |||||
(*comma == ',' || g_ascii_isspace (*comma))) { | |||||
comma ++; | comma ++; | ||||
} | } | ||||
} | } |