[stat_cache] FAM: check FAMNextEvent() return code

personal/stbuehler/ci-build
Glenn Strauss 2019-04-25 23:14:52 -04:00
parent cc49703372
commit a3d171526a
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ static handler_t stat_cache_handle_fdevent(server *srv, void *_fce, int revent)
splay_tree *node;
int ndx;
FAMNextEvent(&scf->fam, &fe);
if (FAMNextEvent(&scf->fam, &fe) < 0) break;
/* handle event */