move parse.c into rfc822parse.c in the lib-mime as it's what it's about
[apps/madmutt.git] / lib-mime / rfc2231.c
index 3f19406..1d53c8e 100644 (file)
@@ -47,7 +47,6 @@
 #include <lib-mime/mime.h>
 
 #include "charset.h"
-#include "rfc2047.h"
 
 typedef struct rfc2231_param {
     struct rfc2231_param *next;
@@ -307,7 +306,7 @@ int rfc2231_encode_string(char **s)
     char *charset = NULL;
     char *e, *p, *t, *d = NULL;
     int escapes = 0;
-    size_t dlen = 0;
+    ssize_t dlen = 0;
 
     /*
      * A shortcut to detect pure 7bit data.