Browse Source

[stat_cache] FAM: check FAMNextEvent() return code

personal/stbuehler/ci-build
Glenn Strauss 3 years ago
parent
commit
a3d171526a
  1. 2
      src/stat_cache.c

2
src/stat_cache.c

@ -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 */

Loading…
Cancel
Save