summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-11 12:15:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-11 12:15:06 +0000
commit3fc8b6f686262e8a595fc10b2bd947526ca77bdc (patch)
tree4175381d8009ec701a731a1611255e0daf3b65dd /protocols
parente9df5cb26041817f3d06c7887ba534273dd0d99d (diff)
CMStringT::Format to return its buffer back
git-svn-id: http://svn.miranda-ng.org/main/trunk@6434 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/MRA/src/Mra_proto.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp
index 23f9a039ae..e085e8cc41 100644
--- a/protocols/MRA/src/Mra_proto.cpp
+++ b/protocols/MRA/src/Mra_proto.cpp
@@ -475,9 +475,7 @@ bool CMraProto::CmdMessageStatus(ULONG seq, BinBuffer &buf)
ProtoBroadcastAck(hContact, dwAckType, ACKRESULT_FAILED, (HANDLE)seq, (LPARAM)"User does not accept offline flash animation");
break;
default:
- CMStringA szMsg;
- szMsg.Format("Undefined message delivery error, code: %lu", dwTemp);
- ProtoBroadcastAck(hContact, dwAckType, ACKRESULT_FAILED, (HANDLE)seq, (LPARAM)szMsg.c_str());
+ ProtoBroadcastAck(hContact, dwAckType, ACKRESULT_FAILED, (HANDLE)seq, (LPARAM)CMStringA().Format("Undefined message delivery error, code: %lu", dwTemp));
break;
}
MraSendQueueFree(hSendQueueHandle, seq);