INN commit: trunk/nnrpd (list.c)
INN Commit
rra at isc.org
Sat Feb 6 11:17:42 UTC 2010
Date: Saturday, February 6, 2010 @ 03:17:42
Author: iulius
Revision: 8946
When a user is allowed to locally post articles, then LIST
COUNTS will return the right "y" flag (instead of "n" or "x").
Also see commit [8945] for LIST ACTIVE.
Modified:
trunk/nnrpd/list.c
--------+
list.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: list.c
===================================================================
--- list.c 2010-02-04 22:34:34 UTC (rev 8945)
+++ list.c 2010-02-06 11:17:42 UTC (rev 8946)
@@ -329,7 +329,10 @@
lo = hi + 1;
if (flag != NF_FLAG_ALIAS) {
- Printf("%s %u %u %u %c\r\n", p, hi, lo, count, flag);
+ Printf("%s %u %u %u %c\r\n", p, hi, lo, count,
+ PERMaccessconf->locpost
+ && (flag == NF_FLAG_NOLOCAL || flag == NF_FLAG_IGNORE)
+ ? NF_FLAG_OK : flag);
} else if (savec != '\0') {
*save = savec;
More information about the inn-committers
mailing list