diff options
author | Vincent Richard <[email protected]> | 2013-12-10 07:52:51 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-12-10 07:52:51 +0000 |
commit | 7e265b05f440ed81b80f2de496c9d13221a69fe0 (patch) | |
tree | d4dad210715ea9d60b2136bd416647d4bc02166a /src/net/sendmail/sendmailTransport.cpp | |
parent | Enforce strict aliasing rule and avoid alignment issues. (diff) | |
download | vmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.tar.gz vmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.zip |
Simplified types for better readability. Use appropriate types (size_t, byte_t...). Minor warning fixes.
Diffstat (limited to 'src/net/sendmail/sendmailTransport.cpp')
-rw-r--r-- | src/net/sendmail/sendmailTransport.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sendmail/sendmailTransport.cpp b/src/net/sendmail/sendmailTransport.cpp index 68c96e51..8ef18e3b 100644 --- a/src/net/sendmail/sendmailTransport.cpp +++ b/src/net/sendmail/sendmailTransport.cpp @@ -137,7 +137,7 @@ void sendmailTransport::noop() void sendmailTransport::send (const mailbox& expeditor, const mailboxList& recipients, - utility::inputStream& is, const utility::stream::size_type size, + utility::inputStream& is, const size_t size, utility::progressListener* progress, const mailbox& sender) { // If no recipient/expeditor was found, throw an exception @@ -159,7 +159,7 @@ void sendmailTransport::send args.push_back("--"); - for (int i = 0 ; i < recipients.getMailboxCount() ; ++i) + for (size_t i = 0 ; i < recipients.getMailboxCount() ; ++i) args.push_back(recipients.getMailboxAt(i)->getEmail().generate()); // Call sendmail @@ -176,7 +176,7 @@ void sendmailTransport::send void sendmailTransport::internalSend (const std::vector <string> args, utility::inputStream& is, - const utility::stream::size_type size, utility::progressListener* progress) + const size_t size, utility::progressListener* progress) { const utility::file::path path = vmime::platform::getHandler()-> getFileSystemFactory()->stringToPath(m_sendmailPath); |