s/strcasecmp/g_strcasecmp
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): s/strcasecmp/g_strcasecmp svn path=/trunk/; revision=4574
This commit is contained in:
committed by
Jeffrey Stedfast
parent
95684042a2
commit
f433ddf7b2
@ -1,5 +1,8 @@
|
||||
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
|
||||
|
||||
* e-msg-composer-attachment-bar.c (attach_to_multipart):
|
||||
s/strcasecmp/g_strcasecmp
|
||||
|
||||
* e-msg-composer.c: s/strncasecmp/g_strncasecmp - this will help
|
||||
later with building on different platforms :-)
|
||||
|
||||
|
||||
@ -587,10 +587,10 @@ attach_to_multipart (CamelMultipart *multipart,
|
||||
* for all else except message (which must be 7bit, 8bit, or
|
||||
* binary). FIXME.
|
||||
*/
|
||||
if (!strcasecmp (content_type->type, "text")) {
|
||||
if (!g_strcasecmp (content_type->type, "text")) {
|
||||
camel_mime_part_set_encoding (attachment->body,
|
||||
CAMEL_MIME_PART_ENCODING_QUOTEDPRINTABLE);
|
||||
} else if (strcasecmp (content_type->type, "message") != 0) {
|
||||
} else if (g_strcasecmp (content_type->type, "message") != 0) {
|
||||
camel_mime_part_set_encoding (attachment->body,
|
||||
CAMEL_MIME_PART_ENCODING_BASE64);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user