aboutsummaryrefslogtreecommitdiff
path: root/src/pop.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-02 08:24:31 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-02 08:24:31 +0000
commit3ca4175052e8a6c26a6cc93501e92a4436cad3df (patch)
treecd8c6b5f88ff65d5e74c27638eaaf4ec13572828 /src/pop.c
parente059bc94965dd6cb4afcff3d5efceec32a98a5a0 (diff)
fixed gcc-4.0 warnings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@457 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/pop.c')
-rw-r--r--src/pop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pop.c b/src/pop.c
index 78c41d29..410accc9 100644
--- a/src/pop.c
+++ b/src/pop.c
@@ -696,7 +696,7 @@ static gint pop3_session_recv_msg(Session *session, const gchar *msg)
{
Pop3Session *pop3_session = POP3_SESSION(session);
Pop3ErrorValue val = PS_SUCCESS;
- const guchar *body;
+ const gchar *body;
body = msg;
if (pop3_session->state != POP3_GETRANGE_UIDL_RECV &&
@@ -711,9 +711,9 @@ static gint pop3_session_recv_msg(Session *session, const gchar *msg)
if (*body == '+' || *body == '-')
body++;
- while (isalpha(*body))
+ while (g_ascii_isalpha(*body))
body++;
- while (isspace(*body))
+ while (g_ascii_isspace(*body))
body++;
}