diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-03 18:28:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-03 18:28:20 +0000 |
commit | 784c2757e8c791b4c76a6e739f08b0fb92ec093a (patch) | |
tree | ba42917a56f96f8b5d6f55edb36d9fc337ca1b39 /protocols/JabberG/src/jabber_ws.cpp | |
parent | 9026d578dc4b14aa12c51a2147bb999703efbb36 (diff) |
- old junk removed;
- mir_free() doesn't require a check
git-svn-id: http://svn.miranda-ng.org/main/trunk@6321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_ws.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_ws.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/protocols/JabberG/src/jabber_ws.cpp b/protocols/JabberG/src/jabber_ws.cpp index f7519dd7e6..eecaeab5f9 100644 --- a/protocols/JabberG/src/jabber_ws.cpp +++ b/protocols/JabberG/src/jabber_ws.cpp @@ -30,19 +30,11 @@ BOOL CJabberProto::WsInit(void) TCHAR name[128];
mir_sntprintf(name, SIZEOF(name), TranslateT("%s connection"), m_tszUserName);
- NETLIBUSER nlu = {0};
- nlu.cbSize = sizeof(nlu);
+ NETLIBUSER nlu = { sizeof(nlu) };
nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_TCHAR; // | NUF_HTTPGATEWAY;
nlu.ptszDescriptiveName = name;
nlu.szSettingsModule = m_szModuleName;
- //nlu.szHttpGatewayHello = "http://http.proxy.icq.com/hello";
- //nlu.szHttpGatewayUserAgent = "Mozilla/4.08 [en] (WinNT; U ;Nav)";
- //nlu.pfnHttpGatewayInit = JabberHttpGatewayInit;
- //nlu.pfnHttpGatewayBegin = JabberHttpGatewayBegin;
- //nlu.pfnHttpGatewayWrapSend = JabberHttpGatewayWrapSend;
- //nlu.pfnHttpGatewayUnwrapRecv = JabberHttpGatewayUnwrapRecv;
m_hNetlibUser = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu);
-
return m_hNetlibUser != NULL;
}
|