Mercurial > noffle
diff src/client.c @ 48:21d3102dbc37 noffle
[svn] Revert setting of initial article number
author | bears |
---|---|
date | Sat, 06 May 2000 17:55:22 +0100 |
parents | 2842f50feb55 |
children | 125d79c9e586 |
line wrap: on
line diff
--- a/src/client.c Sat May 06 17:54:55 2000 +0100 +++ b/src/client.c Sat May 06 17:55:22 2000 +0100 @@ -1,7 +1,7 @@ /* client.c - $Id: client.c 49 2000-05-05 21:45:56Z uh1763 $ + $Id: client.c 54 2000-05-06 16:55:22Z bears $ */ #if HAVE_CONFIG_H @@ -398,6 +398,12 @@ { Log_inf( "Registering new group '%s'", grp ); Grp_create( grp ); + /* Start local numbering with remote first number to avoid + new numbering at the readers if noffle is re-installed */ + if ( first != 0 ) + Grp_setFirstLast( grp, first, first - 1 ); + else + Grp_setFirstLast( grp, 1, 0 ); Grp_setRmtNext( grp, first ); Grp_setServ( grp, client.serv ); Grp_setPostAllow( grp, postAllow );