From 476f5f44c4a1aa2e6bb1cd9aa915b633a1e23099 Mon Sep 17 00:00:00 2001 From: Szymon Tokarz Date: Sun, 29 Jan 2017 21:55:04 +0100 Subject: Gadu-Gadu protocol merge libgadu fix from https://github.com/wojtekka/libgadu/commit/cf07f39da1d69c7219be928e3afcedbdd3c0f49c - gg ssl connection fixed --- protocols/Gadu-Gadu/src/libgadu/events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Gadu-Gadu/src/libgadu') 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" -- cgit v1.2.3