[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mailq -v




Hi!

Here is patch for zmailer-2.99.49p9 to fix
broken 'mailq -v' then directory hashing is turned on
(-H[H] for scheduler).

*** scheduler/old/qprint.c	Thu Mar 12 18:07:49 1998
--- scheduler/qprint.c	Thu Mar 12 18:37:04 1998
*************** static int qpctlfile(spl)
*** 126,132 ****
  	/* assert cfp != NULL */
  	for (vp = cfp->head; vp != NULL; vp = vp->next[L_CTLFILE]) {
  	  vp->qid = ++qid;
! 	  fprintf(qpfp, "%d:\t%s\t%d;",
  		  vp->qid, cfp->mid, vp->ngroup);
  	  qpch = ' ';
  	  for (i = 0; i < vp->ngroup; ++i) {
--- 126,136 ----
  	/* assert cfp != NULL */
  	for (vp = cfp->head; vp != NULL; vp = vp->next[L_CTLFILE]) {
  	  vp->qid = ++qid;
!         if (cfp->dirind >= 0)
! 	    fprintf(qpfp, "%d:\t%s/%s\t%d;",
! 		  vp->qid, cfpdirname(cfp->dirind), cfp->mid, vp->ngroup);
! 	  else
! 	    fprintf(qpfp, "%d:\t%s\t%d;",
  		  vp->qid, cfp->mid, vp->ngroup);
  	  qpch = ' ';
  	  for (i = 0; i < vp->ngroup; ++i) {