X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fafsmonitor%2Fafsmonitor.c;h=eee5936c69021171fb0b00c421e3337ebb6ac5f0;hp=288a5197f68c6b28ff43c6e508c0f497f0bba426;hb=75ef02d9dfb43079f111ea22ae351cf0eec13fab;hpb=bd8f9528b0edae12bd534a70e7b31e4e40a45aab diff --git a/src/afsmonitor/afsmonitor.c b/src/afsmonitor/afsmonitor.c index 288a519..eee5936 100644 --- a/src/afsmonitor/afsmonitor.c +++ b/src/afsmonitor/afsmonitor.c @@ -1733,12 +1733,11 @@ save_FS_results_inCB(int a_newProbeCycle) /* start of a new probe cycle ? */ break; case AFS_XSTATSCOLL_CBSTATS: index = 1; + break; default: - if (index < 0) { - fprintf(stderr, "[ %s ] collection number %d is out of range.\n", - rn, xstat_fs_Results.collectionNumber); - afsmon_Exit(51); - } + fprintf(stderr, "[ %s ] collection number %d is out of range.\n", + rn, xstat_fs_Results.collectionNumber); + afsmon_Exit(51); } /* If a new probe cycle started, mark the list in the current buffer