diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 4 | ||||
-rw-r--r-- | protocols/JabberG/src/stdafx.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 0c3d991720..9ac2c0ce8b 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -724,7 +724,7 @@ private: request.cbSize = sizeof(request);
request.requestType = REQUEST_GET;
request.flags = NLHRF_REDIRECT | NLHRF_HTTP11;
- request.szUrl = "http://xmpp.org/services/services.xml";
+ request.szUrl = JABBER_SERVER_URL;
NETLIBHTTPREQUEST *result = (NETLIBHTTPREQUEST *)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)wnd->GetProto()->m_hNetlibUser, (LPARAM)&request);
if (result) {
@@ -2198,7 +2198,7 @@ void CJabberDlgAccMgrUI::QueryServerListThread(void *arg) request.cbSize = sizeof(request);
request.requestType = REQUEST_GET;
request.flags = NLHRF_GENERATEHOST | NLHRF_SMARTREMOVEHOST | NLHRF_SMARTAUTHHEADER | NLHRF_HTTP11;
- request.szUrl = "http://xmpp.org/services/services.xml";
+ request.szUrl = JABBER_SERVER_URL;
NETLIBHTTPREQUEST *result = (NETLIBHTTPREQUEST *)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)wnd->GetProto()->m_hNetlibUser, (LPARAM)&request);
if (result && IsWindow(hwnd)) {
diff --git a/protocols/JabberG/src/stdafx.h b/protocols/JabberG/src/stdafx.h index 04e8779e45..0e54bb6000 100644 --- a/protocols/JabberG/src/stdafx.h +++ b/protocols/JabberG/src/stdafx.h @@ -176,6 +176,7 @@ protected: #define JABBER_GC_MSG_QUIT LPGENT("I'm happy Miranda NG user. Get it at http://miranda-ng.org/.")
#define JABBER_GC_MSG_SLAP LPGENT("/me slaps %s around a bit with a large trout")
+#define JABBER_SERVER_URL "https://xmpp.net/services.php"
// registered db event types
#define EVENTTYPE_JABBER_CHATSTATES 2000
|