From: Seunghwan Lee Date: Thu, 31 Jan 2013 13:01:48 +0000 (+0900) Subject: Fixed MmsPrintFileInfoForVLD attach count X-Git-Tag: accepted/tizen_2.1/20130425.035101~14^2~12^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea0dd385f097c0e4babeda61f8e3a35942e6b643;p=framework%2Fmessaging%2Fmsg-service.git Fixed MmsPrintFileInfoForVLD attach count --- diff --git a/plugin/mms_plugin/MmsPluginMessage.cpp b/plugin/mms_plugin/MmsPluginMessage.cpp index 3b0e61c..8797fdd 100755 --- a/plugin/mms_plugin/MmsPluginMessage.cpp +++ b/plugin/mms_plugin/MmsPluginMessage.cpp @@ -1028,7 +1028,7 @@ void MmsPrintFileInfoForVLD(MMS_MESSAGE_DATA_S *pMmsMsg) int attachCnt = _MsgMmsGetAttachCount(pMmsMsg); if (attachCnt > 0) { - for (int i = 0; i < pMmsMsg->pageCnt; i++) { + for (int i = 0; i < pMmsMsg->attachCnt; i++) { MMS_ATTACH_S *pAttach = _MsgMmsGetAttachment(pMmsMsg, i); MSG_MMS_VLD_FILE("[%s], %d", pAttach->szFilePath, MsgGetFileSize(pAttach->szFilePath)); }