aboutsummaryrefslogtreecommitdiff
path: root/libsylph/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/imap.c')
-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);