aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-07-17 11:27:30 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-17 11:27:30 +0800
commit93a122c7e3a2e4507527b745d9864275c305736d (patch)
tree5cd0b8baff990ce32956db444ec6ae55ec98d42a
parentd6be710fbb55b9a9aea1a6daa3d598dd2728a179 (diff)
downloadgsoc2013-evolution-93a122c7e3a2e4507527b745d9864275c305736d.tar
gsoc2013-evolution-93a122c7e3a2e4507527b745d9864275c305736d.tar.gz
gsoc2013-evolution-93a122c7e3a2e4507527b745d9864275c305736d.tar.bz2
gsoc2013-evolution-93a122c7e3a2e4507527b745d9864275c305736d.tar.lz
gsoc2013-evolution-93a122c7e3a2e4507527b745d9864275c305736d.tar.xz
gsoc2013-evolution-93a122c7e3a2e4507527b745d9864275c305736d.tar.zst
gsoc2013-evolution-93a122c7e3a2e4507527b745d9864275c305736d.zip
minor fixes that came up when building with gcc -ansi -pedantic
svn path=/trunk/; revision=4184
-rw-r--r--camel/providers/imap/camel-imap-folder.c8
1 files changed, 4 insertions, 4 deletions
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));