diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-16 13:04:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-16 13:04:27 +0000 |
commit | 39c4a49dbfa7fd2e7bce9b7c56c91dceae726542 (patch) | |
tree | 5e67ce292d753da15afaef26ad9e929f455c58f1 /protocols | |
parent | c56ccb6226b01eafec0c6370feda1415cc46f009 (diff) |
n-nope, we shall return 0
git-svn-id: http://svn.miranda-ng.org/main/trunk@1580 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rwxr-xr-x | protocols/IcqOscarJ/fam_01service.cpp | 2 | ||||
-rw-r--r-- | protocols/MRA/MraProto.cpp | 3 | ||||
-rw-r--r-- | protocols/MSN/msn_proto.cpp | 3 | ||||
-rw-r--r-- | protocols/Yahoo/proto.cpp | 4 |
4 files changed, 8 insertions, 4 deletions
diff --git a/protocols/IcqOscarJ/fam_01service.cpp b/protocols/IcqOscarJ/fam_01service.cpp index a2f4483674..9bc06f19ab 100755 --- a/protocols/IcqOscarJ/fam_01service.cpp +++ b/protocols/IcqOscarJ/fam_01service.cpp @@ -684,7 +684,7 @@ void CIcqProto::setUserInfo() wAdditionalData += 16;
#endif
- wAdditionalData += CustomCapList.size() * 16;
+ wAdditionalData += (WORD)CustomCapList.size() * 16;
//MIM/PackName
bool bHasPackName = false;
diff --git a/protocols/MRA/MraProto.cpp b/protocols/MRA/MraProto.cpp index 7be880f92f..8f758e9b6b 100644 --- a/protocols/MRA/MraProto.cpp +++ b/protocols/MRA/MraProto.cpp @@ -342,7 +342,8 @@ int CMraProto::AuthDeny(HANDLE hDBEvent, const TCHAR* szReason) int CMraProto::AuthRecv(HANDLE hContact, PROTORECVEVENT* pre)
{
- return Proto_AuthRecv(m_szModuleName, pre);
+ Proto_AuthRecv(m_szModuleName, pre);
+ return 0;
}
int CMraProto::AuthRequest(HANDLE hContact, const TCHAR *lptszMessage)
diff --git a/protocols/MSN/msn_proto.cpp b/protocols/MSN/msn_proto.cpp index 23abd2cfe6..200b34d3df 100644 --- a/protocols/MSN/msn_proto.cpp +++ b/protocols/MSN/msn_proto.cpp @@ -308,7 +308,8 @@ HANDLE __cdecl CMsnProto::AddToListByEvent(int flags, int iContact, HANDLE hDbEv int CMsnProto::AuthRecv(HANDLE hContact, PROTORECVEVENT* pre)
{
- return Proto_AuthRecv(m_szModuleName, pre);
+ Proto_AuthRecv(m_szModuleName, pre);
+ return 0;
}
////////////////////////////////////////////////////////////////////////////////////////
diff --git a/protocols/Yahoo/proto.cpp b/protocols/Yahoo/proto.cpp index e73af363c8..dc14b4538e 100644 --- a/protocols/Yahoo/proto.cpp +++ b/protocols/Yahoo/proto.cpp @@ -290,7 +290,9 @@ int __cdecl CYahooProto::AuthRecv(HANDLE hContact, PROTORECVEVENT* pre) {
DebugLog("[YahooRecvAuth] ");
DBDeleteContactSetting(hContact,"CList","Hidden");
- return Proto_AuthRecv(m_szModuleName, pre);
+
+ Proto_AuthRecv(m_szModuleName, pre);
+ return 0;
}
////////////////////////////////////////////////////////////////////////////////////////
|