2005-08-03 [paul] 1.9.13cvs10
[claws.git] / src / pop.c
index 51d9019c3b63c555a7dfbd26883d2e2a792398f4..d0b962976b7386ab26c3388b696fe1303c1b4f32 100644 (file)
--- a/src/pop.c
+++ b/src/pop.c
@@ -867,7 +867,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 &&
@@ -882,9 +882,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++;
        }