Bug in HEAD in carp.c

From: Guido Serassio <serassio@dont-contact.us>
Date: Sat, 13 Apr 2002 15:42:40 +0200

Hi Henrik,

Enabling the new CARP code, I have got a compile error.
I think that there was a commit error, and the code must be:

Index: carp.c
===================================================================
RCS file: /cvsroot/squid/squid/src/carp.c,v
retrieving revision 1.6
diff -u -p -r1.6 carp.c
--- carp.c 4 Apr 2002 23:14:08 -0000 1.6
+++ carp.c 13 Apr 2002 13:38:14 -0000
@@ -143,7 +143,7 @@ carpSelectParent(request_t * request)
      if (n_carp_peers == 0)
         return NULL;

- key = urlCanonical(url);
+ key = urlCanonical(request);

      /* calculate hash key */
      debug(39, 2) ("carpSelectParent: Calculating hash for %s\n", key);

Regards

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Sat Apr 13 2002 - 07:42:52 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:10 MST