diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-10 12:35:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-10 12:35:28 +0300 |
commit | ea7bccab81b2c637d1f9880b461a65d68ef8c8ab (patch) | |
tree | b59a1e18796d20f1a8a6512bff63da7954013f91 /src | |
parent | c1211a1a967563c7e9aeb3858e16b15190e3e32c (diff) |
warning fix
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/netlibhttp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/netlibhttp.cpp b/src/mir_app/src/netlibhttp.cpp index 7090b54772..41ec3aa39d 100644 --- a/src/mir_app/src/netlibhttp.cpp +++ b/src/mir_app/src/netlibhttp.cpp @@ -246,9 +246,9 @@ struct HttpSecurityContext PHOSTENT host = (ip == INADDR_NONE) ? gethostbyname(szHost) : gethostbyaddr((char*)&ip, 4, AF_INET);
szSpnStr.Format("HTTP/%s", host && host->h_name ? host->h_name : szHost);
_strlwr(szSpnStr.GetBuffer() + 5);
- Netlib_Logf(nlu, "Host SPN: %s", szSpnStr);
+ Netlib_Logf(nlu, "Host SPN: %s", szSpnStr.c_str());
}
- m_hNtlmSecurity = Netlib_InitSecurityProvider(_A2T(szProvider), szSpnStr.IsEmpty() ? NULL : _A2T(szSpnStr.c_str()));
+ m_hNtlmSecurity = Netlib_InitSecurityProvider(_A2T(szProvider), szSpnStr.IsEmpty() ? nullptr : _A2T(szSpnStr.c_str()));
if (m_hNtlmSecurity) {
m_szProvider = mir_strdup(szProvider);
m_szHost = mir_strdup(szHost);
|