diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-06-26 03:31:08 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-06-26 03:31:08 -0700 |
commit | 1b7e875e49b5dbac686587bde3158eec56600f91 (patch) | |
tree | b110c45ac48048b78cfc359bb2ebab0dbc621895 /src/core/smtp | |
parent | b17b5d9ebf687241f177c562f7db96f7e5e637cb (diff) |
Simplified logger C++ API
Diffstat (limited to 'src/core/smtp')
-rw-r--r-- | src/core/smtp/MCSMTPSession.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/smtp/MCSMTPSession.cc b/src/core/smtp/MCSMTPSession.cc index da2e19e5..dcbad71e 100644 --- a/src/core/smtp/MCSMTPSession.cc +++ b/src/core/smtp/MCSMTPSession.cc @@ -176,10 +176,10 @@ static void logger(mailsmtp * smtp, 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); } } |