--------------------- PatchSet 6337 Date: 2004/10/20 13:27:23 Author: oliv3 Branch: icap-2_5 Tag: (none) Log: Patch from Graeme Bisset Members: src/icap_respmod.c:1.1.2.45->1.1.2.46 Index: squid/src/icap_respmod.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/icap_respmod.c,v retrieving revision 1.1.2.45 retrieving revision 1.1.2.46 diff -u -r1.1.2.45 -r1.1.2.46 --- squid/src/icap_respmod.c 19 Oct 2004 15:41:03 -0000 1.1.2.45 +++ squid/src/icap_respmod.c 20 Oct 2004 13:27:23 -0000 1.1.2.46 @@ -1,6 +1,6 @@ /* - * $Id: icap_respmod.c,v 1.1.2.45 2004/10/19 15:41:03 oliv3 Exp $ + * $Id: icap_respmod.c,v 1.1.2.46 2004/10/20 13:27:23 oliv3 Exp $ * * DEBUG: section 81 Internet Content Adaptation Protocol (ICAP) Client * AUTHOR: Geetha Manjunath, Hewlett Packard Company @@ -231,7 +231,7 @@ return; } #if ICAP_PREVIEW - if (preview_size < 0) /* preview feature off */ + if (preview_size < 0 || !Config.icapcfg.preview_enable) /* preview feature off */ icap->flags.preview_done = 1; if (!icap->flags.preview_done) {