[evolution-data-server] CamelIMAPXServer: Use g_ascii_toupper() instead of toupper().



commit 69e0ea41ba2c2bb5b24088e1d156fc85839c15bc
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Aug 28 08:12:15 2013 -0400

    CamelIMAPXServer: Use g_ascii_toupper() instead of toupper().

 camel/camel-imapx-server.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index 8f53058..7ec7bd0 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -26,9 +26,6 @@
 #include <glib/gstdio.h>
 #include <glib/gi18n-lib.h>
 
-// fixme, use own type funcs
-#include <ctype.h>
-
 #include "camel-imapx-server.h"
 
 #include "camel-imapx-command.h"
@@ -2446,7 +2443,7 @@ imapx_untagged (CamelIMAPXServer *is,
        e (is->tagprefix, "Have token '%s' id %d\n", is->priv->context->token, is->priv->context->id);
        p = is->priv->context->token;
        while ((c = *p))
-               *p++ = toupper((gchar) c);
+               *p++ = g_ascii_toupper ((gchar) c);
 
        token = (const gchar *) is->priv->context->token; /* FIXME need 'guchar *token' here */
        while (token != NULL) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]