summaryrefslogtreecommitdiff
path: root/plugins/GmailNotifier/src/notify.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-01-25 22:25:52 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-01-25 22:25:52 +0000
commitd32c7402ad63175d48579a2779d47800a2dd74c2 (patch)
treec802782c4baf77b838c23bf7cd7025af61006526 /plugins/GmailNotifier/src/notify.cpp
parent97ba0b94c5da04f0d03945baa21c338c77c9dc20 (diff)
GMailNotifier:
- Minors issues fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@11912 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/GmailNotifier/src/notify.cpp')
-rw-r--r--plugins/GmailNotifier/src/notify.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/GmailNotifier/src/notify.cpp b/plugins/GmailNotifier/src/notify.cpp
index 6961d88cf1..b071fff079 100644
--- a/plugins/GmailNotifier/src/notify.cpp
+++ b/plugins/GmailNotifier/src/notify.cpp
@@ -182,12 +182,14 @@ void __cdecl Login_ThreadFunc(void *lpParam)
mir_strcat(lpPathBuffer, szTempName);
}
else {
+ char *szEncodedURL = mir_urlEncode(curAcc->name);
mir_strcat(lpPathBuffer, LINK);
- mir_strcat(lpPathBuffer, mir_urlEncode(curAcc->name));
+ mir_strcat(lpPathBuffer, szEncodedURL);
//mir_strcat(lpPathBuffer, "&Passwd=");
//mir_strcat(lpPathBuffer, mir_urlEncode(curAcc->pass));
if (opt.AutoLogin == 1)
mir_strcat(lpPathBuffer, "&PersistentCookie=yes");
+ mir_free(szEncodedURL);
}
}
}