Mercurial > noffle
diff src/server.c @ 389:f81fdcc2696b noffle
[svn] * src/server.c: Move incorrect updating of server.grp in doGrp() which was
causing doGrp() to not retrieve remote article details when in online
mode.
author | bears |
---|---|
date | Thu, 22 May 2003 09:41:37 +0100 |
parents | c02c4eb95f95 |
children | 466b42bb776e |
line wrap: on
line diff
--- a/src/server.c Thu May 22 09:27:02 2003 +0100 +++ b/src/server.c Thu May 22 09:41:37 2003 +0100 @@ -1,7 +1,7 @@ /* server.c - $Id: server.c 420 2003-01-10 23:25:45Z bears $ + $Id: server.c 531 2003-05-22 08:41:37Z bears $ */ #if HAVE_CONFIG_H @@ -375,18 +375,20 @@ putStat( STAT_NO_SUCH_GRP, "No such group" ); else { - Utl_cpyStr( server.grp, arg ); server.groupReady = FALSE; server.artPtr = Grp_first( arg ); first = server.artPtr; last = Grp_last( arg ); if ( ( first == 0 && last == 0 ) - || first > last ) { + || first > last ) + { changeToGrp( arg ); first = Cont_first(); last = Cont_last(); } + else + Utl_cpyStr( server.grp, arg ); if ( ( first == 0 && last == 0 ) || first > last ) @@ -920,7 +922,9 @@ static void putGrp( const char *name ) { - putTxtLn( "%s %lu %lu y", name, Grp_last( name ), Grp_first( name ) ); + putTxtLn( "%s %lu %lu %c", + name, Grp_last( name ), Grp_first( name ), + Grp_postAllow( name )); } static void