changeset 11066:2507d20c3d0b

[gaim-migrate @ 13047] 8bit is fine. Keeping these in synch with their originals in gaim-meanwhile committer: Tailor Script <tailor@pidgin.im>
author Christopher O'Brien <siege@pidgin.im>
date Thu, 07 Jul 2005 15:43:05 +0000
parents 8e97c8befc0b
children 2eca9ed49469
files src/mime.c src/mime.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/mime.c	Thu Jul 07 15:40:35 2005 +0000
+++ b/src/mime.c	Thu Jul 07 15:43:05 2005 +0000
@@ -323,6 +323,10 @@
     *data = g_strdup(part->data->str);
     *len = part->data->len;
 
+  } else if(! g_ascii_strcasecmp(enc, "8bit")) {
+    *data = g_strdup(part->data->str);
+    *len = part->data->len;
+
   } else if(! g_ascii_strcasecmp(enc, "base16")) {
     *len = gaim_base16_decode(part->data->str, (unsigned char **) data);
 
--- a/src/mime.h	Thu Jul 07 15:40:35 2005 +0000
+++ b/src/mime.h	Thu Jul 07 15:43:05 2005 +0000
@@ -180,7 +180,7 @@
 
     @param part the MIME documemt part
     @param data Buffer for the data
-	@param len  The length of the buffer
+    @param len  The length of the buffer
 */
 void gaim_mime_part_get_data_decoded(GaimMimePart *part,
 				     char **data, gsize *len);