* bforce/nodelist.c (nodelist_checkheader): small fixes.

master
Andrey Slusar 20 years ago
parent d9bedb00f5
commit 531e9655d1

@ -1,4 +1,8 @@
2005-01-11 Andrey Slusar <anray@users.sourceforge.net>
* bforce/nodelist.c (nodelist_checkheader): small fixes.
2005-01-10 Evgeniy Kozhuhovskiy <e.kozhuhovskiy@generation-p.com>
* nodelist.c(nodelist_open): added mask detection
* bforce/nodelist.c (nodelist_open): added mask detection.

@ -295,7 +295,7 @@ s_nodelist *nodelist_open(const char *dir, const char *name, int mode)
{
/* checking, if nodelist name contains mask (see
* example config for details) */
if( strcmp(name+strlen(name)-3, "999") == 0)
if( strcmp(name+strlen(name)-4, ".999") == 0)
{
int count;
/* struct dirent *nodelistdir;*/

Loading…
Cancel
Save