From: adam Date: Wed, 11 Aug 2004 01:34:02 +0000 (+0000) Subject: start counting at 1 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2f317cac90428646cfcd37b03a49d36dfbef060e;p=org.ibex.mail.git start counting at 1 darcs-hash:20040811013402-5007d-4a67b2f9741215735811b2dc1affffbe4682c689.gz --- 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[] { }; }