likely fix for 1.1.12 coredumps

From: Duane Wessels <[email protected]>
Date: Mon, 07 Jul 97 08:35:07 -0700

This patch most likely fixes the reported coredumps from v1.1.12.
Look for v1.1.13 later today. This patch can/should also
be applied to 1.NOVM.12 as well.

Duane W.

Index: src/store.c
===================================================================
RCS file: /surf1/CVS/squid/src/store.c,v
retrieving revision 1.212.2.22
retrieving revision 1.212.2.23
diff -w -u -r1.212.2.22 -r1.212.2.23
--- store.c 1997/07/04 06:06:05 1.212.2.22
+++ store.c 1997/07/07 04:42:18 1.212.2.23
@@ -496,7 +496,7 @@
        reply->content_length,
        mem->e_current_len - mem->reply->hdr_sz,
        RequestMethodStr[e->method],
- mem->log_url);
+ mem->log_url ? mem->log_url : e->url);
     file_write(storelog_fd,
        xstrdup(logmsg),
        strlen(logmsg),
Received on Mon Jul 07 1997 - 08:40:25 MDT

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