summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/libgadu
diff options
context:
space:
mode:
authorSzymon Tokarz <wsx22@o2.pl>2017-01-29 21:55:04 +0100
committerSzymon Tokarz <wsx22@o2.pl>2017-01-29 21:55:04 +0100
commit476f5f44c4a1aa2e6bb1cd9aa915b633a1e23099 (patch)
treea27560ba25c49e1908dc5002ed17684d60cde87b /protocols/Gadu-Gadu/src/libgadu
parentda041bd0b484a11e2015957955476b31169f3882 (diff)
Gadu-Gadu protocol
merge libgadu fix from https://github.com/wojtekka/libgadu/commit/cf07f39da1d69c7219be928e3afcedbdd3c0f49c - gg ssl connection fixed
Diffstat (limited to 'protocols/Gadu-Gadu/src/libgadu')
-rw-r--r--protocols/Gadu-Gadu/src/libgadu/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/libgadu/events.cpp b/protocols/Gadu-Gadu/src/libgadu/events.cpp
index 44bfa73cab..0714b2b2a2 100644
--- a/protocols/Gadu-Gadu/src/libgadu/events.cpp
+++ b/protocols/Gadu-Gadu/src/libgadu/events.cpp
@@ -2052,7 +2052,7 @@ struct gg_event *gg_watch_fd(struct gg_session *sess)
#ifdef GG_CONFIG_MIRANDA
if (sess->tls) {
snprintf(buf, sizeof(buf) - 1,
- "GET %s/appsvc/appmsg_ver10.asp?fmnumber=%u&fmt=2&lastmsg=%d&version=%s&age=2&gender=1 HTTP/1.0\r\n"
+ "GET %s/appsvc/appmsg_ver11.asp?tls=1&fmnumber=%u&fmt=2&lastmsg=%d&version=%s&age=2&gender=1 HTTP/1.0\r\n"
"Connection: close\r\n"
"Host: " GG_APPMSG_HOST "\r\n"
"%s"
@@ -2061,7 +2061,7 @@ struct gg_event *gg_watch_fd(struct gg_session *sess)
#elif GG_CONFIG_HAVE_OPENSSL
if (sess->ssl != NULL) {
snprintf(buf, sizeof(buf) - 1,
- "GET %s/appsvc/appmsg_ver10.asp?fmnumber=%u&fmt=2&lastmsg=%d&version=%s&age=2&gender=1 HTTP/1.0\r\n"
+ "GET %s/appsvc/appmsg_ver11.asp?tls=1&fmnumber=%u&fmt=2&lastmsg=%d&version=%s&age=2&gender=1 HTTP/1.0\r\n"
"Connection: close\r\n"
"Host: " GG_APPMSG_HOST "\r\n"
"%s"