From 2e4abd268c71f15bcf73c49a5005f128ffd8ee96 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 May 2013 15:08:49 +0000 Subject: shortened typedefs for string buffers: MCBuf -> mir_ptr MTBuf -> mir_ptr MWBuf -> mir_ptr git-svn-id: http://svn.miranda-ng.org/main/trunk@4680 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/src/proto.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/Yahoo/src/proto.cpp') diff --git a/protocols/Yahoo/src/proto.cpp b/protocols/Yahoo/src/proto.cpp index da3c4751d0..f56efaba62 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) { - mir_ptr who( db_get_sa(hContact, m_szModuleName, YAHOO_LOGINID)); + MCBuf who( db_get_sa(hContact, m_szModuleName, YAHOO_LOGINID)); if (who) { - mir_ptr myid( db_get_sa(hContact, m_szModuleName, "MyIdentity")); + MCBuf 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) { - mir_ptr who( db_get_sa(hContact, m_szModuleName, YAHOO_LOGINID)); + MCBuf who( db_get_sa(hContact, m_szModuleName, YAHOO_LOGINID)); if (who) { - mir_ptr myid( db_get_sa(hContact, m_szModuleName, "MyIdentity")); - mir_ptr u_reason( mir_utf8encodeT(reason)); + MCBuf myid( db_get_sa(hContact, m_szModuleName, "MyIdentity")); + MCBuf u_reason( mir_utf8encodeT(reason)); DebugLog("Rejecting buddy:%s msg: %s", who, u_reason); reject(myid, who, GetWord(hContact, "yprotoid", 0), u_reason); -- cgit v1.2.3