From: serassio <> Date: Sat, 29 Oct 2005 00:32:17 +0000 (+0000) Subject: Bug #1440: compile problem with gcc-3.4.4 X-Git-Tag: SQUID_3_0_PRE4~572 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d412b784a37961fc5443c334fa11b36469b9d16;p=thirdparty%2Fsquid.git Bug #1440: compile problem with gcc-3.4.4 --- diff --git a/src/auth/negotiate/auth_negotiate.cc b/src/auth/negotiate/auth_negotiate.cc index bc5078a959..d8eedb3be7 100644 --- a/src/auth/negotiate/auth_negotiate.cc +++ b/src/auth/negotiate/auth_negotiate.cc @@ -1,6 +1,6 @@ /* - * $Id: auth_negotiate.cc,v 1.2 2005/10/28 18:19:57 serassio Exp $ + * $Id: auth_negotiate.cc,v 1.3 2005/10/28 18:32:17 serassio Exp $ * * DEBUG: section 29 Negotiate Authenticator * AUTHOR: Robert Collins, Henrik Nordstrom, Francesco Chemolli @@ -543,8 +543,7 @@ AuthNegotiateUserRequest::module_start(RH * handler, void *data) r = cbdataAlloc(authenticateStateData); r->handler = handler; - cbdataReference(data); - r->data = data; + r->data = cbdataReference(data); r->auth_user_request = this; lock() diff --git a/src/auth/ntlm/auth_ntlm.cc b/src/auth/ntlm/auth_ntlm.cc index 1f97db93b4..b81ad45490 100644 --- a/src/auth/ntlm/auth_ntlm.cc +++ b/src/auth/ntlm/auth_ntlm.cc @@ -1,6 +1,6 @@ /* - * $Id: auth_ntlm.cc,v 1.50 2005/10/23 11:55:38 hno Exp $ + * $Id: auth_ntlm.cc,v 1.51 2005/10/28 18:32:17 serassio Exp $ * * DEBUG: section 29 NTLM Authenticator * AUTHOR: Robert Collins, Henrik Nordstrom, Francesco Chemolli @@ -479,8 +479,7 @@ AuthNTLMUserRequest::module_start(RH * handler, void *data) r = cbdataAlloc(authenticateStateData); r->handler = handler; - cbdataReference(data); - r->data = data; + r->data = cbdataReference(data); r->auth_user_request = this; lock()