]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1440: compile problem with gcc-3.4.4
authorserassio <>
Sat, 29 Oct 2005 00:32:17 +0000 (00:32 +0000)
committerserassio <>
Sat, 29 Oct 2005 00:32:17 +0000 (00:32 +0000)
src/auth/negotiate/auth_negotiate.cc
src/auth/ntlm/auth_ntlm.cc

index bc5078a9598c7ccccdb41d0a2bf26478136f70fa..d8eedb3be76b7e9b0c620b68604ed692da4d492e 100644 (file)
@@ -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()
index 1f97db93b46948134129af673e1d7ea2aa8c164b..b81ad454908d0ce7b98922448e293d803cd345f5 100644 (file)
@@ -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()