diff options
Diffstat (limited to 'camel/providers/pop3/camel-pop3-engine.c')
-rw-r--r-- | camel/providers/pop3/camel-pop3-engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/pop3/camel-pop3-engine.c b/camel/providers/pop3/camel-pop3-engine.c index 22d3ab5930..682141f975 100644 --- a/camel/providers/pop3/camel-pop3-engine.c +++ b/camel/providers/pop3/camel-pop3-engine.c @@ -186,8 +186,8 @@ get_capabilities(CamelPOP3Engine *pe) if ((apop = strchr(line+3, '<')) && (apopend = strchr(apop, '>'))) { - *apopend = 0; - pe->apop = g_strdup(apop+1); + apopend[1] = 0; + pe->apop = g_strdup(apop); pe->capa = CAMEL_POP3_CAP_APOP; pe->auth = g_list_append(pe->auth, &camel_pop3_apop_authtype); } |