start counting at 1
authoradam <adam@megacz.com>
Wed, 11 Aug 2004 01:34:02 +0000 (01:34 +0000)
committeradam <adam@megacz.com>
Wed, 11 Aug 2004 01:34:02 +0000 (01:34 +0000)
darcs-hash:20040811013402-5007d-4a67b2f9741215735811b2dc1affffbe4682c689.gz

src/org/ibex/mail/protocol/NNTP.java

index 3f1eb9b..048efba 100644 (file)
@@ -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[] { }; }