From 531e9655d193892e66c5566168bb6eec18e9a76a Mon Sep 17 00:00:00 2001 From: Andrey Slusar Date: Tue, 11 Jan 2005 06:14:12 +0000 Subject: [PATCH] * bforce/nodelist.c (nodelist_checkheader): small fixes. --- source/ChangeLog | 6 +++++- source/bforce/nodelist.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source/ChangeLog b/source/ChangeLog index 19c6a56..fd576c1 100644 --- a/source/ChangeLog +++ b/source/ChangeLog @@ -1,4 +1,8 @@ +2005-01-11 Andrey Slusar + + * bforce/nodelist.c (nodelist_checkheader): small fixes. + 2005-01-10 Evgeniy Kozhuhovskiy - * nodelist.c(nodelist_open): added mask detection + * bforce/nodelist.c (nodelist_open): added mask detection. diff --git a/source/bforce/nodelist.c b/source/bforce/nodelist.c index 54338e6..7c505de 100644 --- a/source/bforce/nodelist.c +++ b/source/bforce/nodelist.c @@ -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;*/