From 95684042a284502b02a11a9462d79397d8750914 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 7 Aug 2000 18:27:17 +0000 Subject: s/strncasecmp/g_strncasecmp - this will help later with building on 2000-08-07 Jeffrey Stedfast * e-msg-composer.c: s/strncasecmp/g_strncasecmp - this will help later with building on different platforms :-) svn path=/trunk/; revision=4573 --- composer/ChangeLog | 5 +++++ composer/e-msg-composer.c | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'composer') diff --git a/composer/ChangeLog b/composer/ChangeLog index 446240f0ff..8824781fcb 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2000-08-07 Jeffrey Stedfast + + * e-msg-composer.c: s/strncasecmp/g_strncasecmp - this will help + later with building on different platforms :-) + 2000-08-07 Jeffrey Stedfast * e-msg-composer.c (e_msg_composer_new_with_message): Added code diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 2e50a9029f..2793535b51 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1429,7 +1429,7 @@ e_msg_composer_new_from_url (const char *url) int len, clen; char *content; - g_return_val_if_fail (strncasecmp (url, "mailto:", 7) == 0, NULL); + g_return_val_if_fail (g_strncasecmp (url, "mailto:", 7) == 0, NULL); /* Parse recipients (everything after ':' until '?' or eos. */ p = url + 7; @@ -1458,15 +1458,15 @@ e_msg_composer_new_from_url (const char *url) content = g_strndup (p, clen); camel_url_decode (content); - if (!strncasecmp (header, "to", len)) + if (!g_strncasecmp (header, "to", len)) to = add_recipients (to, content, FALSE); - else if (!strncasecmp (header, "cc", len)) + else if (!g_strncasecmp (header, "cc", len)) cc = add_recipients (cc, content, FALSE); - else if (!strncasecmp (header, "bcc", len)) + else if (!g_strncasecmp (header, "bcc", len)) bcc = add_recipients (bcc, content, FALSE); - else if (!strncasecmp (header, "subject", len)) + else if (!g_strncasecmp (header, "subject", len)) subject = g_strdup (content); - else if (!strncasecmp (header, "body", len)) + else if (!g_strncasecmp (header, "body", len)) body = g_strdup (content); g_free (content); -- cgit