]> granicus.if.org Git - mutt/commitdiff
Remove some code which crept in from the external character set patch.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 18 Nov 1998 22:05:22 +0000 (22:05 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 18 Nov 1998 22:05:22 +0000 (22:05 +0000)
recvattach.c

index 616e23b41ba606a90e835b58f39ad84efc62d8a5..e79ce582bba74e3aade1e16d30a500bd34aa9cb5 100644 (file)
@@ -140,8 +140,7 @@ ATTACHPTR **mutt_gen_attach_list (BODY *m,
   return (idx);
 }
 
-/* %C = character set
- * %D = deleted flag
+/* %D = deleted flag
  * %d = description
  * %e = MIME content-transfer-encoding
  * %f = filename
@@ -171,18 +170,6 @@ const char *mutt_attach_fmt (char *dest,
   
   switch (op)
   {
-    case 'C':
-      if(!optional)
-      {
-       if(aptr->content->type == TYPETEXT && mutt_get_send_charset(charset, sizeof(charset), aptr->content))
-       {
-         snprintf(fmt, sizeof(fmt), "%%%ss", prefix);
-         snprintf(dest, destlen, fmt, charset);
-       }
-      }
-      else if(aptr->content->type != TYPETEXT || !mutt_get_send_charset(charset, sizeof(charset), aptr->content))
-        optional = 0;
-      break;
     case 'd':
       if(!optional)
       {