diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-09 19:43:20 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-09 19:43:20 +0000 |
commit | 940231dc5a484b03a278900e1880aa083472b601 (patch) | |
tree | 65c5935e66e1cd86be3ed1f9d5fc41272972962c /protocols/Skype/src/skype_proto.cpp | |
parent | 8f20a72a0c38afd3a51be0af25fb5a3361ed99e7 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4402 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 6b31760df7..3fc58b3cc2 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -274,12 +274,12 @@ HANDLE __cdecl CSkypeProto::SendFile( HANDLE hContact, const TCHAR* szDescriptio if (this->IsOnline() && hContact && ppszFiles)
{
SEStringList targets;
- char* sid = ::DBGetString(hContact, this->m_szModuleName, "sid");
+ char* sid = ::db_get_sa(hContact, this->m_szModuleName, "sid");
targets.append(sid);
CConversation::Ref conversation = CConversation::FindBySid(
this->skype,
- ::DBGetString(hContact, this->m_szModuleName, "sid"));
+ ::db_get_sa(hContact, this->m_szModuleName, "sid"));
conversation.fetch();
SEFilenameList fileList;
@@ -329,7 +329,7 @@ int __cdecl CSkypeProto::SendMsg(HANDLE hContact, int flags, const char* msg) CConversation::Ref conversation = CConversation::FindBySid(
this->skype,
- ::DBGetString(hContact, this->m_szModuleName, "sid"));
+ ::db_get_sa(hContact, this->m_szModuleName, "sid"));
if (conversation)
{
Message::Ref message;
@@ -417,11 +417,11 @@ int __cdecl CSkypeProto::UserIsTyping( HANDLE hContact, int type ) {
if (hContact && this->IsOnline() && this->m_iStatus != ID_STATUS_INVISIBLE)
{
- if (::strcmp(::DBGetString(hContact, this->m_szModuleName, "sid"), this->login) != 0)
+ if (::strcmp(::db_get_sa(hContact, this->m_szModuleName, "sid"), this->login) != 0)
{
CConversation::Ref conversation = CConversation::FindBySid(
this->skype,
- ::DBGetString(hContact, this->m_szModuleName, "sid"));
+ ::db_get_sa(hContact, this->m_szModuleName, "sid"));
if (conversation)
{
switch (type)
|