# HG changeset patch # User Christopher O'Brien # Date 1120750985 0 # Node ID 2507d20c3d0ba4cd4572ea3c8e8790f22bdaf96f # Parent 8e97c8befc0b5e6cadafa23112844314b99738f3 [gaim-migrate @ 13047] 8bit is fine. Keeping these in synch with their originals in gaim-meanwhile committer: Tailor Script diff -r 8e97c8befc0b -r 2507d20c3d0b src/mime.c --- 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); diff -r 8e97c8befc0b -r 2507d20c3d0b src/mime.h --- 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);