missing include
[apps/madmutt.git] / rfc1524.c
index 5a843f8..d45c474 100644 (file)
--- a/rfc1524.c
+++ b/rfc1524.c
@@ -127,8 +127,8 @@ static char *get_field (char *s)
         s++;
     }
     else {
-      *ch++ = 0;
-      SKIPWS (ch);
+      *ch++ = '\0';
+      ch = vskipspaces(ch);
       break;
     }
   }
@@ -139,11 +139,10 @@ static char *get_field (char *s)
 static int get_field_text (char *field, char **entry,
                            char *type, char *filename, int line)
 {
-  field = str_skip_initws (field);
+  field = vskipspaces(field);
   if (*field == '=') {
     if (entry) {
-      field++;
-      field = str_skip_initws (field);
+      field = vskipspaces(field + 1);
       str_replace (entry, field);
     }
     return 1;