tidying: skip_whitespace
[exim.git] / src / src / header.c
index cbfc4f847e5a5ce28062f912e2d514c5b88074dc..857351972a49736afa580af812cbe3891c010bf8 100644 (file)
@@ -321,9 +321,8 @@ while (bot < top)
 
   if (c == 0)
     {
-    uschar *s = text + mid->len;
-    while (isspace(*s)) s++;
-    if (*s == ':')
+    uschar * s = text + mid->len;
+    if (Uskip_whitespace(&s) == ':')
       return (!is_resent || mid->allow_resent)? mid->htype : htype_other;
     c = 1;
     }