summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Yahoo/src/proto.cpp')
-rw-r--r--protocols/Yahoo/src/proto.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Yahoo/src/proto.cpp b/protocols/Yahoo/src/proto.cpp
index f56efaba62..1270da32e2 100644
--- a/protocols/Yahoo/src/proto.cpp
+++ b/protocols/Yahoo/src/proto.cpp
@@ -209,9 +209,9 @@ int CYahooProto::Authorize( HANDLE hdbe )
/* Need to remove the buddy from our Miranda Lists */
HANDLE hContact = DbGetAuthEventContact(&dbei);
if (hContact != NULL) {
- MCBuf who( db_get_sa(hContact, m_szModuleName, YAHOO_LOGINID));
+ ptrA who( db_get_sa(hContact, m_szModuleName, YAHOO_LOGINID));
if (who) {
- MCBuf myid( db_get_sa(hContact, m_szModuleName, "MyIdentity"));
+ ptrA myid( db_get_sa(hContact, m_szModuleName, "MyIdentity"));
DebugLog("Accepting buddy:%s", who);
accept(myid, who, GetWord(hContact, "yprotoid", 0));
}
@@ -254,10 +254,10 @@ int CYahooProto::AuthDeny( HANDLE hdbe, const TCHAR* reason )
/* Need to remove the buddy from our Miranda Lists */
HANDLE hContact = DbGetAuthEventContact(&dbei);
if (hContact != NULL) {
- MCBuf who( db_get_sa(hContact, m_szModuleName, YAHOO_LOGINID));
+ ptrA who( db_get_sa(hContact, m_szModuleName, YAHOO_LOGINID));
if (who) {
- MCBuf myid( db_get_sa(hContact, m_szModuleName, "MyIdentity"));
- MCBuf u_reason( mir_utf8encodeT(reason));
+ ptrA myid( db_get_sa(hContact, m_szModuleName, "MyIdentity"));
+ ptrA u_reason( mir_utf8encodeT(reason));
DebugLog("Rejecting buddy:%s msg: %s", who, u_reason);
reject(myid, who, GetWord(hContact, "yprotoid", 0), u_reason);