bneradt commented on code in PR #12274:
URL: https://github.com/apache/trafficserver/pull/12274#discussion_r2125562997
##########
plugins/healthchecks/healthchecks.cc:
##########
@@ -220,8 +249,7 @@ hc_thread(void *data ATS_UNUSED)
struct inotify_event *event = (struct inotify_event *)&buffer[i];
HCFileInfo *finfo = g_config;
- while (finfo && !((event->wd == finfo->wd) ||
- ((event->wd == finfo->dir->wd) &&
!strncmp(event->name, finfo->basename, finfo->basename_len)))) {
Review Comment:
This loop's logic became `event_matches_config`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]