aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Hearst <david@blackpixel.com>2014-01-20 14:39:48 -0700
committerGravatar David Hearst <david@blackpixel.com>2014-01-20 14:39:48 -0700
commit80654fce9123ec6a585df2860efd132542a87738 (patch)
treec54de9db8da196df2a4114dacb028d573a42f96e
parent3bd0c195538417acdb062198da84dedc350d13b5 (diff)
Make sure that the "size" property is propagated into the object during fetch
I noticed that UID and index were being stored in the object based on fetch results, but size was always left as 0.
-rw-r--r--src/core/pop/MCPOPSession.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/pop/MCPOPSession.cc b/src/core/pop/MCPOPSession.cc
index 12b0b032..0d26682e 100644
--- a/src/core/pop/MCPOPSession.cc
+++ b/src/core/pop/MCPOPSession.cc
@@ -439,6 +439,7 @@ Array * POPSession::fetchMessages(ErrorCode * pError)
POPMessageInfo * info = new POPMessageInfo();
info->setUid(uid);
+ info->setSize(msg_info->msg_size);
info->setIndex(msg_info->msg_index);
result->addObject(info);
info->release();