tradspool & inn-2.4
Katsuhiro Kondou
kondou at nec.co.jp
Sun Feb 4 22:28:13 UTC 2001
In article <Pine.BSF.4.31.0102041936090.68674-100000 at saraksh.alkar.net>,
Alexey Luckyanchikov <alexl at alkar.net> wrote;
} art->groupslen is calculated in tradspool_next(). May be error is
} in this function. Sorry, but I have not enough experience and time to
} continue debug and find error.
Attached should fix the problem. Sorry for inconvenience.
--
Katsuhiro Kondou
Index: storage/tradspool/tradspool.c
===================================================================
RCS file: /home/kondou/news/inn/repository/inn/storage/tradspool/tradspool.c,v
retrieving revision 1.31
diff -u -r1.31 tradspool.c
--- storage/tradspool/tradspool.c 2001/02/03 03:52:19 1.31
+++ storage/tradspool/tradspool.c 2001/02/04 22:25:50
@@ -1161,9 +1161,12 @@
/* skip path element */
if ((xrefhdr = strchr(xrefhdr, ' ')) == NULL) {
art->groups = NULL;
+ art->groupslen = 0;
} else {
for (xrefhdr++; *xrefhdr == ' '; xrefhdr++);
art->groups = xrefhdr;
+ for (p = xrefhdr ; (*p != '\n') && (*p != '\r') ; p++);
+ art->groupslen = p - xrefhdr;
}
}
} else if (innconf->storeonxref) {
More information about the inn-bugs
mailing list