diff options
Diffstat (limited to 'protocols/MRA')
-rw-r--r-- | protocols/MRA/src/MraSendCommand.cpp | 1 | ||||
-rw-r--r-- | protocols/MRA/src/Mra_proto.cpp | 3 | ||||
-rw-r--r-- | protocols/MRA/src/version.h | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/protocols/MRA/src/MraSendCommand.cpp b/protocols/MRA/src/MraSendCommand.cpp index 91e55a8401..8d5d5d47de 100644 --- a/protocols/MRA/src/MraSendCommand.cpp +++ b/protocols/MRA/src/MraSendCommand.cpp @@ -448,6 +448,7 @@ DWORD CMraProto::MraSMSW(MCONTACT hContact, const CMStringA &lpszPhone, const CM buf.SetLPS(szPhoneLocal);
buf.SetLPSW(lpwszMessage);
+ /* Save phone number for ack notify after send. */
LPBYTE lpbData = (LPBYTE)mir_calloc(lpszPhone.GetLength() + sizeof(size_t));
if (NULL == lpbData)
return (0);
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index 5ce49e47bc..3a0c9bb6c0 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -256,6 +256,7 @@ DWORD CMraProto::MraNetworkDispatcher() ProtoBroadcastAck(hContact, dwAckType, ACKRESULT_SUCCESS, (HANDLE)dwCMDNum, 0);
break;
case ICQACKTYPE_SMS:
+ ProtoBroadcastAck(NULL, dwAckType, ACKRESULT_FAILED, (HANDLE)dwCMDNum, 0);
mir_free(lpbData);
break;
}
@@ -1782,7 +1783,7 @@ DWORD CMraProto::MraRecvCommand_Message(DWORD dwTime, DWORD dwFlags, CMStringA & // found
(*lpbBufferCurPos) = 0;
- lpbBufferCurPos++;
+ lpbBufferCurPos ++;
}
ProtoChainRecv(hContact, PSR_CONTACTS, 0, (LPARAM)&pre);
}
diff --git a/protocols/MRA/src/version.h b/protocols/MRA/src/version.h index f0bf119c1c..949589e0a1 100644 --- a/protocols/MRA/src/version.h +++ b/protocols/MRA/src/version.h @@ -8,7 +8,7 @@ #define __PLUGIN_NAME "MRA"
#define __FILENAME "MRA.dll"
#define __DESCRIPTION "Miranda Mail.ru Agent protocol plugin."
-#define __AUTHOR "Ivan Rozhuk"
+#define __AUTHOR "Rozhuk Ivan"
#define __AUTHOREMAIL "Rozhuk_I@mail.ru"
#define __AUTHORWEB "http://miranda-ng.org/p/MRA/"
-#define __COPYRIGHT "© 2005-2009 Rozhuk Ivan"
+#define __COPYRIGHT "© 2005-2014 Rozhuk Ivan"
|