From 2f317cac90428646cfcd37b03a49d36dfbef060e Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 11 Aug 2004 01:34:02 +0000 Subject: [PATCH] start counting at 1 darcs-hash:20040811013402-5007d-4a67b2f9741215735811b2dc1affffbe4682c689.gz --- src/org/ibex/mail/protocol/NNTP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/ibex/mail/protocol/NNTP.java b/src/org/ibex/mail/protocol/NNTP.java index 3f1eb9b..048efba 100644 --- a/src/org/ibex/mail/protocol/NNTP.java +++ b/src/org/ibex/mail/protocol/NNTP.java @@ -88,7 +88,7 @@ public class NNTP { private Group getgroup(String s) { Mailbox box = root; for(StringTokenizer st = new StringTokenizer(s, "."); st.hasMoreTokens(); box = box.slash(st.nextToken(), false)); - return new Group(s, true, 0, box.count(Query.all()), box.count(Query.all())); + return new Group(s, true, 1, box.count(Query.all()), box.count(Query.all())); } public Group[] newgroups(Date d, String[] distributions) { /* FEATURE */ return new Group[] { }; } -- 1.7.10.4