Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed May 19, 2024
1 parent a4cc60f commit f90a120
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/ares_event_configchg.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,11 @@ static ares_status_t config_change_check(ares__htable_strvp_t *filestat,
return ARES_ENOMEM;
}
}
if (fi->size != st.st_size || fi->mtime != st->st_mtime) {
if (fi->size != st.st_size || fi->mtime != st.st_mtime) {
changed = ARES_TRUE;
}
fi->size = st.st_size;
fi->mtime = st.st_mtime;
fi->size = (size_t)st.st_size;
fi->mtime = (time_t)st.st_mtime;
} else if (fi != NULL) {
/* File no longer exists, remove */
ares__htable_strvp_remove(filestat, configfiles[i]);
Expand Down

0 comments on commit f90a120

Please sign in to comment.