diff options
author | Vincent Richard <[email protected]> | 2013-07-17 10:46:50 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-07-17 10:46:50 +0000 |
commit | 9702cdaabac38bc2cb73061c4efa6451762a076e (patch) | |
tree | 47302b1a511d4b1b9a8e9e49bd3035cc70c91d69 /src/net/imap/IMAPStore.cpp | |
parent | Dispatch NOOP commands on open folders only. (diff) | |
download | vmime-9702cdaabac38bc2cb73061c4efa6451762a076e.tar.gz vmime-9702cdaabac38bc2cb73061c4efa6451762a076e.zip |
Code cleanup. Store error log in parsed response to avoid accessing parser internal data.
Diffstat (limited to '')
-rw-r--r-- | src/net/imap/IMAPStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/imap/IMAPStore.cpp b/src/net/imap/IMAPStore.cpp index 4508f0e6..05eaf99c 100644 --- a/src/net/imap/IMAPStore.cpp +++ b/src/net/imap/IMAPStore.cpp @@ -191,7 +191,7 @@ void IMAPStore::noop() if (resp->isBad() || resp->response_done()->response_tagged()-> resp_cond_state()->status() != IMAPParser::resp_cond_state::OK) { - throw exceptions::command_error("NOOP", m_connection->getParser()->lastLine()); + throw exceptions::command_error("NOOP", resp->getErrorLog()); } |