aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/pop
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-26 03:31:08 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-26 03:31:08 -0700
commit1b7e875e49b5dbac686587bde3158eec56600f91 (patch)
treeb110c45ac48048b78cfc359bb2ebab0dbc621895 /src/core/pop
parentb17b5d9ebf687241f177c562f7db96f7e5e637cb (diff)
Simplified logger C++ API
Diffstat (limited to 'src/core/pop')
-rw-r--r--src/core/pop/MCPOPSession.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/pop/MCPOPSession.cc b/src/core/pop/MCPOPSession.cc
index 9e771027..fea4e5e0 100644
--- a/src/core/pop/MCPOPSession.cc
+++ b/src/core/pop/MCPOPSession.cc
@@ -160,10 +160,10 @@ static void logger(mailpop3 * pop3, int log_type, const char * buffer, size_t si
if (isBuffer) {
Data * data = Data::dataWithBytes(buffer, (unsigned int) size);
- session->connectionLogger()->log(session->connectionLogger()->context(), session, type, data);
+ session->connectionLogger()->log(session, type, data);
}
else {
- session->connectionLogger()->log(session->connectionLogger()->context(), session, type, NULL);
+ session->connectionLogger()->log(session, type, NULL);
}
}