aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/imap/IMAPStore.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-07-17 10:46:50 +0000
committerVincent Richard <[email protected]>2013-07-17 10:46:50 +0000
commit9702cdaabac38bc2cb73061c4efa6451762a076e (patch)
tree47302b1a511d4b1b9a8e9e49bd3035cc70c91d69 /src/net/imap/IMAPStore.cpp
parentDispatch NOOP commands on open folders only. (diff)
downloadvmime-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.cpp2
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());
}