--------------------- PatchSet 11750 Date: 2007/11/20 14:16:27 Author: hno Branch: HEAD Tag: (none) Log: Improve helper debug ouput, including the channel number Members: src/helper.c:1.66->1.67 Index: squid/src/helper.c =================================================================== RCS file: /cvsroot/squid/squid/src/helper.c,v retrieving revision 1.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- squid/src/helper.c 1 Apr 2007 14:17:50 -0000 1.66 +++ squid/src/helper.c 20 Nov 2007 14:16:27 -0000 1.67 @@ -1,6 +1,6 @@ /* - * $Id: helper.c,v 1.66 2007/04/01 14:17:50 serassio Exp $ + * $Id: helper.c,v 1.67 2007/11/20 14:16:27 hno Exp $ * * DEBUG: section 84 Helper process maintenance * AUTHOR: Harvest Derived? @@ -1026,7 +1026,7 @@ { helper *hlp = srv->parent; helper_request **ptr = NULL; - int slot; + int slot = -1; if (!cbdataValid(r->data)) { debug(84, 1) ("helperDispatch: invalid callback data\n"); helperRequestFree(r); @@ -1057,8 +1057,8 @@ helperDispatch_done, /* Handler */ srv); } - debug(84, 5) ("helperDispatch: Request sent to %s #%d, %d bytes\n", - hlp->id_name, srv->index + 1, (int) strlen(r->buf)); + debug(84, 5) ("helperDispatch: Request sent to %s #%d[%d], %d bytes\n", + hlp->id_name, srv->index + 1, slot, (int) strlen(r->buf)); srv->stats.uses++; hlp->stats.requests++; }