Skip to content

Commit

Permalink
Revert "- Fix write access for lock."
Browse files Browse the repository at this point in the history
This reverts commit fa11d13.
  • Loading branch information
gthess committed Sep 23, 2024
1 parent fa11d13 commit 52d424f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/cache/dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ dns_cache_store(struct module_env* env, struct query_info* msgqinf,
* useful expired record exists. */
struct msgreply_entry* e = msg_cache_lookup(env,
msgqinf->qname, msgqinf->qname_len, msgqinf->qtype,
msgqinf->qclass, flags, 0, 1);
msgqinf->qclass, flags, 0, 0);
if(e) {
struct reply_info* cached = e->entry.data;
if(cached->ttl < *env->now
Expand Down

0 comments on commit 52d424f

Please sign in to comment.