diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-24 17:27:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-24 17:27:34 +0000 |
commit | 5b6f2daa070dff9998af4259daa3926cb70bb817 (patch) | |
tree | daf84f3668e9de0dd2b29d60859d596475b29064 /protocols/MSN/src/msn_srv.cpp | |
parent | 26c78a6a63f3fd7bc2f3179df04615ebbd49eb8f (diff) |
- custom UrlEncode replaced with the core function;
- fix for opening Hotmail Inbox in a browser;
- end of strange buffers;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@6976 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_srv.cpp')
-rw-r--r-- | protocols/MSN/src/msn_srv.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/MSN/src/msn_srv.cpp b/protocols/MSN/src/msn_srv.cpp index 1fcdb0eba2..10b0d5a5dc 100644 --- a/protocols/MSN/src/msn_srv.cpp +++ b/protocols/MSN/src/msn_srv.cpp @@ -324,11 +324,7 @@ void CMsnProto::MSN_SendNicknameUtf(const char* nickname) void CMsnProto::MSN_SetNicknameUtf(const char* nickname)
{
- const size_t urlNickSz = strlen(nickname) * 3 + 1;
- char* urlNick = (char*)alloca(urlNickSz);
-
- UrlEncode(nickname, urlNick, urlNickSz);
- msnNsThread->sendPacket("PRP", "MFN %s", urlNick);
+ msnNsThread->sendPacket("PRP", "MFN %s", ptrA(mir_urlEncode(nickname)));
}
/////////////////////////////////////////////////////////////////////////////////////////
|