]> diplodocus.org Git - nmh/commitdiff
Remove unused argument.
authorKen Hornstein <kenh@pobox.com>
Wed, 30 Oct 2013 02:52:06 +0000 (22:52 -0400)
committerKen Hornstein <kenh@pobox.com>
Wed, 30 Oct 2013 02:52:06 +0000 (22:52 -0400)
sbr/encode_rfc2047.c

index 0b11c8b3a7419deaa7157ef93b4f81ad33a456ae..0d3c2784b7f37a0b37f83834ea81eced45d97e92 100644 (file)
@@ -43,8 +43,7 @@ static char *address_headers[] = {
 
 static void unfold_header(char **, int);
 static int field_encode_address(const char *, char **, int, const char *);
-static int field_encode_quoted(const char *, char **, int, const char *,
-                              int, int);
+static int field_encode_quoted(const char *, char **, const char *, int, int);
 static int utf8len(const char *);
 
 /*
@@ -133,7 +132,7 @@ encode_rfc2047(const char *name, char **value, int encoding,
 #endif
 
     case CE_QUOTED:
-       return field_encode_quoted(name, value, encoding, charset, asciicount,
+       return field_encode_quoted(name, value, charset, asciicount,
                                   eightbitcount + qpspecialcount);
 
     default:
@@ -147,8 +146,8 @@ encode_rfc2047(const char *name, char **value, int encoding,
  */
 
 static int
-field_encode_quoted(const char *name, char **value, int encoding,
-                   const char *charset, int ascii, int encoded)
+field_encode_quoted(const char *name, char **value, const char *charset,
+                   int ascii, int encoded)
 {
     int prefixlen = name ? strlen(name) + 2: 0, outlen = 0, column, newline = 1;
     int charsetlen = strlen(charset), utf8;