diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-15 18:21:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-15 18:21:33 +0000 |
commit | 683c656dd87e82ec9e2d05f72a7b7e1c7269bfd6 (patch) | |
tree | dbd36275d84fe57ae7e60f7765275b1ad1f13ed1 /protocols/Yahoo/src/proto.cpp | |
parent | a9fc5c1795cea571927f6ff4ceb8701ffe609ad4 (diff) |
ProtoBroadcastAck - unified helper for all protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@4962 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/proto.cpp')
-rw-r--r-- | protocols/Yahoo/src/proto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Yahoo/src/proto.cpp b/protocols/Yahoo/src/proto.cpp index 1270da32e2..fd6344131a 100644 --- a/protocols/Yahoo/src/proto.cpp +++ b/protocols/Yahoo/src/proto.cpp @@ -340,7 +340,7 @@ DWORD_PTR __cdecl CYahooProto::GetCaps( int type, HANDLE /*hContact*/ ) void __cdecl CYahooProto::get_info_thread(HANDLE hContact)
{
SleepEx(500, TRUE);
- ProtoBroadcastAck(m_szModuleName, hContact, ACKTYPE_GETINFO, ACKRESULT_SUCCESS, (HANDLE) 1, 0);
+ ProtoBroadcastAck(hContact, ACKTYPE_GETINFO, ACKRESULT_SUCCESS, (HANDLE) 1, 0);
}
int __cdecl CYahooProto::GetInfo( HANDLE hContact, int /*infoType*/ )
@@ -452,7 +452,7 @@ int __cdecl CYahooProto::SetStatus( int iNewStatus ) err++;
db_free(&dbv);
} else {
- ProtoBroadcastAck(m_szModuleName, NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_BADUSERID);
+ ProtoBroadcastAck(NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_BADUSERID);
err++;
}
@@ -468,7 +468,7 @@ int __cdecl CYahooProto::SetStatus( int iNewStatus ) db_free(&dbv);
} else {
- ProtoBroadcastAck(m_szModuleName, NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_WRONGPASSWORD);
+ ProtoBroadcastAck(NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_WRONGPASSWORD);
err++;
}
|