aboutsummaryrefslogtreecommitdiff
path: root/libsylph/pop.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-05 13:11:13 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-05 13:11:13 +0000
commitd6efc2451b025f596253032b5547c974cf1f515f (patch)
tree352b789fb8f4f90b3b6332dd8258499d82e6a1ca /libsylph/pop.c
parent2ba20d1ef121661b16f9592bf1185dc9be827d84 (diff)
fixed wrong status display at receiving on *BSD systems.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@975 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/pop.c')
-rw-r--r--libsylph/pop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/pop.c b/libsylph/pop.c
index 7988ef48..8b110b3e 100644
--- a/libsylph/pop.c
+++ b/libsylph/pop.c
@@ -187,7 +187,7 @@ static gint pop3_getrange_stat_send(Pop3Session *session)
static gint pop3_getrange_stat_recv(Pop3Session *session, const gchar *msg)
{
- if (sscanf(msg, "%d %Ld", &session->count, &session->total_bytes) != 2) {
+ if (sscanf(msg, "%d %lld", &session->count, &session->total_bytes) != 2) {
log_warning(_("POP3 protocol error\n"));
session->error_val = PS_PROTOCOL;
return -1;