From 93a122c7e3a2e4507527b745d9864275c305736d Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 17 Jul 2000 03:27:30 +0000 Subject: minor fixes that came up when building with gcc -ansi -pedantic svn path=/trunk/; revision=4184 --- camel/providers/imap/camel-imap-folder.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'camel/providers') diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 4c350b697b..80ac5f1537 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -670,7 +670,7 @@ imap_parse_subfolder_line (gchar *buf, gchar **flags, gchar **sep, gchar **folde *sep = NULL; *folder = NULL; - if (strncasecmp (buf, "* LIST", 6)) + if (g_strncasecmp (buf, "* LIST", 6)) return FALSE; ptr = strstr (buf + 6, "("); @@ -820,7 +820,7 @@ imap_get_message (CamelFolder *folder, const gchar *uid, CamelException *ex) CamelMimeMessage *msg; /*CamelMimePart *part;*/ gchar *result, *header, *body, *mesg, *p, *q; - int id, status, part_len; + int status, part_len; status = camel_imap_command_extended (CAMEL_IMAP_STORE (folder->parent_store), folder, &result, "UID FETCH %s BODY.PEEK[HEADER]", uid); @@ -1111,7 +1111,7 @@ imap_get_summary (CamelFolder *folder, CamelException *ex) /* lets grab the UID... */ if (!(uid = strstr (headers->pdata[i], "(UID "))) { - d(fprintf (stderr, "We didn't seem to get a uid for %d...\n\n%s\n\n", i, headers->pdata[i])); + d(fprintf (stderr, "Cannot get a uid for %d\n\n%s\n\n", i, (char *) headers->pdata[i])); g_free (info); break; } @@ -1331,7 +1331,7 @@ imap_get_message_info (CamelFolder *folder, const char *uid) } p = strchr (result, '(') + 1; - if (strncasecmp (p, "FLAGS", 5)) { + if (g_strncasecmp (p, "FLAGS", 5)) { g_free (result); d(fprintf (stderr, "Warning: FLAGS for message %s not found\n", uid)); -- cgit v1.2.3