aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-10-08 07:08:23 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-10-08 07:08:23 +0000
commite3b226db74ed298ef67e0f2a9683197944ba5c8e (patch)
tree9abc80a5751a5dbc3292c52bd11074ad711283ab /libsylph
parentc0dda2d3e74d3487f144c8a192c33fec1169a360 (diff)
fixed compilation without thread support.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2277 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/imap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsylph/imap.c b/libsylph/imap.c
index b7b7e55d..198bbc72 100644
--- a/libsylph/imap.c
+++ b/libsylph/imap.c
@@ -2640,7 +2640,9 @@ static gint imap_get_uncached_messages_func(IMAPSession *session, gpointer data)
return IMAP_ERROR;
}
+#if USE_THREADS
((IMAPRealSession *)session)->prog_total = exists;
+#endif
str = g_string_new(NULL);