From ac6607c5f76566c2c840ca3955a22448738df9b3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 28 Jan 2019 15:51:04 +0300 Subject: mir_urlDecode & mir_urlEncode to return CMStringA --- plugins/GmailNotifier/src/notify.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/GmailNotifier') diff --git a/plugins/GmailNotifier/src/notify.cpp b/plugins/GmailNotifier/src/notify.cpp index 42804b3322..b07805dac4 100644 --- a/plugins/GmailNotifier/src/notify.cpp +++ b/plugins/GmailNotifier/src/notify.cpp @@ -46,14 +46,10 @@ static void __cdecl Login_ThreadFunc(Account *curAcc) mir_strcat(lpPathBuffer, szTempName); } else { - char *szEncodedURL = mir_urlEncode(curAcc->name); mir_strcat(lpPathBuffer, LINK); - mir_strcat(lpPathBuffer, szEncodedURL); - //mir_strcat(lpPathBuffer, "&Passwd="); - //mir_strcat(lpPathBuffer, mir_urlEncode(curAcc->pass)); + mir_strcat(lpPathBuffer, mir_urlEncode(curAcc->name)); if (opt.AutoLogin == 1) mir_strcat(lpPathBuffer, "&PersistentCookie=yes"); - mir_free(szEncodedURL); } } } -- cgit v1.2.3