Index: server-src/amindexd.c =================================================================== RCS file: /homes/amcore/cvsroot/amanda-2/server-src/amindexd.c,v retrieving revision 1.25.2.4 diff -u -r1.25.2.4 amindexd.c --- amindexd.c 1998/04/08 16:26:37 1.25.2.4 +++ amindexd.c 1998/04/11 06:08:39 @@ -326,7 +326,8 @@ while ((direntp = readdir(dirp)) != NULL) { - if (strncmp(direntp->d_name, host, strlen(host)) == 0) + if (strncmp(direntp->d_name, host, strlen(host)) == 0 && + direntp->d_name[strlen(host)] == '_') { (void)closedir(dirp); return 0;