diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-31 19:03:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-31 19:03:23 +0300 |
commit | ceb5828d44a3a0080d9fbf57835ead3cf46d7383 (patch) | |
tree | 8631c502953c460375a8d0ee928b88968269d824 | |
parent | 2600097dcc6e357d4d8df6105e9afb66b6d4b296 (diff) |
compilation fix
-rw-r--r-- | src/mir_app/src/netlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/netlib.cpp b/src/mir_app/src/netlib.cpp index 52ff637ad6..bb7ec14ac6 100644 --- a/src/mir_app/src/netlib.cpp +++ b/src/mir_app/src/netlib.cpp @@ -161,7 +161,7 @@ MIR_APP_DLL(HNETLIBUSER) Netlib_RegisterUser(const NETLIBUSER *nlu) thisUser->user.szDescriptiveName.w = (thisUser->user.flags & NUF_UNICODE) ? mir_wstrdup(nlu->szDescriptiveName.w) : mir_a2u(nlu->szDescriptiveName.a);
if ((thisUser->user.szSettingsModule = mir_strdup(nlu->szSettingsModule)) == NULL
- || (nlu->szDescriptiveName && thisUser->user.ptszDescriptiveName == NULL)
+ || (nlu->szDescriptiveName.w && thisUser->user.szDescriptiveName.w == NULL)
|| (nlu->szHttpGatewayUserAgent && (thisUser->user.szHttpGatewayUserAgent = mir_strdup(nlu->szHttpGatewayUserAgent)) == NULL))
{
mir_free(thisUser);
|