From 5eac6aaa76473676ad99f92ee561ae2814a6175b Mon Sep 17 00:00:00 2001 From: Evgeniy Kozhuhovskiy Date: Mon, 31 Jan 2005 05:41:17 +0000 Subject: [PATCH] Some fixes --- source/bforce/nodelist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/bforce/nodelist.c b/source/bforce/nodelist.c index cbf9575..3c2b573 100644 --- a/source/bforce/nodelist.c +++ b/source/bforce/nodelist.c @@ -313,8 +313,8 @@ s_nodelist *nodelist_open(const char *dir, char *name, int mode) while( (ndir = readdir(ndirstream)) ) { strncpy(tmpseek, ndir->d_name, sizeof(tmpseek)); - if ( strlen(tmpseek) < 3 ) - continue; + if ( strlen(tmpseek) < 3 ) /* Checking for */ + continue; /* "." and ".." */ if( strlen(tmpseek) == strlen(tmpname) ) {