From 1be97f17884f9046e6ab45d45ea327ef00a3d095 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 17 Jun 2012 20:33:13 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@468 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/netlib/netlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/netlib/netlib.cpp') diff --git a/src/modules/netlib/netlib.cpp b/src/modules/netlib/netlib.cpp index d1c0579c37..7e637b4b47 100644 --- a/src/modules/netlib/netlib.cpp +++ b/src/modules/netlib/netlib.cpp @@ -157,7 +157,7 @@ static INT_PTR NetlibRegisterUser(WPARAM, LPARAM lParam) thisUser->user.ptszDescriptiveName = (thisUser->user.flags&NUF_UNICODE ? mir_u2t((WCHAR*)nlu->ptszDescriptiveName) : mir_a2t(nlu->szDescriptiveName)); } if ((thisUser->user.szSettingsModule=mir_strdup(nlu->szSettingsModule)) == NULL - || (nlu->szDescriptiveName && thisUser->user.ptszDescriptiveName == NULL) + || (nlu->szDescriptiveName && thisUser->user.ptszDescriptiveName == NULL) || (nlu->szHttpGatewayUserAgent && (thisUser->user.szHttpGatewayUserAgent=mir_strdup(nlu->szHttpGatewayUserAgent)) == NULL)) { mir_free(thisUser); -- cgit v1.2.3