diff options
| author | Aulddays <[email protected]> | 2017-08-18 09:15:36 +0000 |
|---|---|---|
| committer | Aulddays <[email protected]> | 2017-08-18 09:15:36 +0000 |
| commit | c6cf359ffc3f4e3d20063d28fde897773cbd19e9 (patch) | |
| tree | 8f2c7e73d410dd891f7131ee60beb1e5bd869779 /src | |
| parent | Fixed #177: thread id on OpenBSD. (diff) | |
| download | vmime-c6cf359ffc3f4e3d20063d28fde897773cbd19e9.tar.gz vmime-c6cf359ffc3f4e3d20063d28fde897773cbd19e9.zip | |
Fixed send performance issue
Diffstat (limited to 'src')
| -rw-r--r-- | src/vmime/net/imap/IMAPFolder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmime/net/imap/IMAPFolder.cpp b/src/vmime/net/imap/IMAPFolder.cpp index 8761de81..1fbe1331 100644 --- a/src/vmime/net/imap/IMAPFolder.cpp +++ b/src/vmime/net/imap/IMAPFolder.cpp @@ -1116,7 +1116,7 @@ messageSet IMAPFolder::addMessage while (!is.eof()) { // Read some data from the input stream - const size_t read = is.read(buffer, sizeof(buffer)); + const size_t read = is.read(buffer, blockSize); current += read; // Put read data into socket output stream |
