aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/pop/MCPOPSession.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/pop/MCPOPSession.cc')
-rw-r--r--src/core/pop/MCPOPSession.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/pop/MCPOPSession.cc b/src/core/pop/MCPOPSession.cc
index 0ae28a9d..26a0c868 100644
--- a/src/core/pop/MCPOPSession.cc
+++ b/src/core/pop/MCPOPSession.cc
@@ -155,6 +155,7 @@ void POPSession::body_progress(size_t current, size_t maximum, void * context)
void POPSession::setup()
{
mPop = mailpop3_new(0, NULL);
+ mailpop3_set_progress_callback(mPop, POPSession::body_progress, this);
}
void POPSession::unsetup()