aboutsummaryrefslogtreecommitdiff
path: root/news/inn-stable/files/patch-innd::art.c
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-01-08 10:17:50 +0000
committerClement Laforet <clement@FreeBSD.org>2004-01-08 10:17:50 +0000
commit0cdc83928a775d1bbe90c39fd3169edc8e758e7d (patch)
tree4f50cb44492c55ed1e30bb3aab451b348049ce70 /news/inn-stable/files/patch-innd::art.c
parent94399cf1e7c0db506b69595840d077bc28b785a2 (diff)
Notes
Diffstat (limited to 'news/inn-stable/files/patch-innd::art.c')
-rw-r--r--news/inn-stable/files/patch-innd::art.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/news/inn-stable/files/patch-innd::art.c b/news/inn-stable/files/patch-innd::art.c
new file mode 100644
index 000000000000..7943a772f23e
--- /dev/null
+++ b/news/inn-stable/files/patch-innd::art.c
@@ -0,0 +1,24 @@
+--- innd/art.c.orig Sat Jul 12 19:40:34 2003
++++ innd/art.c Thu Jan 8 10:09:34 2004
+@@ -1773,7 +1773,7 @@
+ bool
+ ARTpost(CHANNEL *cp)
+ {
+- char *p, **groups, ControlWord[SMBUF], tmpbuff[32], **hops;
++ char *p, **groups, ControlWord[SMBUF], **hops, *controlgroup;
+ int i, j, *isp, hopcount, oerrno, canpost;
+ NEWSGROUP *ngp, **ngptr;
+ SITE *sp;
+@@ -2184,9 +2184,10 @@
+ * or control. */
+ if (IsControl && Accepted && !ToGroup) {
+ ControlStore = true;
+- FileGlue(tmpbuff, "control", '.', ControlWord);
+- if ((ngp = NGfind(tmpbuff)) == NULL)
++ controlgroup = concat("control.", ControlWord, (char *) 0);
++ if ((ngp = NGfind(controlgroup)) == NULL)
+ ngp = NGfind(ARTctl);
++ free(controlgroup);
+ ngp->PostCount = 0;
+ ngptr = GroupPointers;
+ *ngptr++ = ngp;