Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed May 19, 2024
1 parent 70a35d8 commit 6919262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ares_event_configchg.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static void ares_event_configchg_cb(ares_event_thread_t *e, ares_socket_t fd,
ptr += sizeof(struct inotify_event) + event->len) {
event = (const struct inotify_event *)ptr;

if (event->name == NULL) {
if (ares_strlen(event->name) == 0) {
continue;
}

Expand Down

0 comments on commit 6919262

Please sign in to comment.