Re: [squid-users] 2.5 compile error

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 29 Jun 2001 16:30:16 +0200

Craig Hapanovich wrote:
>
> I am getting the following error compiling 2.5 dated 6/6/2001 on aix
> 4.3:
>
> "store.c", line 169.15: 1506-025 (S) Operand must be a modifiable
> lvalue.

Please try the following small patch:

Index: store.c
===================================================================
RCS file: /server/cvs-server/squid/squid/src/store.c,v
retrieving revision 1.539
diff -u -w -r1.539 store.c
--- store.c 2001/04/14 00:25:19 1.539
+++ store.c 2001/06/29 14:29:21
@@ -166,7 +166,7 @@
     ctx_exit(ctx); /* must exit before we free mem->url */
     safe_free(mem->url);
     safe_free(mem->log_url); /* XXX account log_url */
- safe_free((void *) mem->vary_headers);
+ safe_free(mem->vary_headers);
     memFree(mem, MEM_MEMOBJECT);
 }
Received on Fri Jun 29 2001 - 09:32:27 MDT

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