# HG changeset patch # User enz # Date 978102310 0 # Node ID 23a53c92d4d794238b37b9ed8f273245ca008493 # Parent 4d1353d7d5136d640f2114723446fe83fba45e67 [svn] apply bug-fix for lazy group loading by Matija Nalis diff -r 4d1353d7d513 -r 23a53c92d4d7 src/server.c --- a/src/server.c Fri Dec 29 15:04:23 2000 +0000 +++ b/src/server.c Fri Dec 29 15:05:10 2000 +0000 @@ -1,7 +1,7 @@ /* server.c - $Id: server.c 236 2000-12-05 19:50:09Z enz $ + $Id: server.c 244 2000-12-29 15:05:10Z enz $ */ #if HAVE_CONFIG_H @@ -327,6 +327,14 @@ server.artPtr = Grp_first( arg ); first = server.artPtr; last = Grp_last( arg ); + + if ( ( first == 0 && last == 0 ) + || first > last ) { + changeToGrp( arg ); + first = Cont_first(); + last = Cont_last(); + } + if ( ( first == 0 && last == 0 ) || first > last ) first = last = numb = 0;