summaryrefslogtreecommitdiffstats
path: root/lib/layer/iterate.c
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2017-01-23 15:49:32 +0100
committerVladimír Čunát <vladimir.cunat@nic.cz>2017-01-23 15:49:32 +0100
commit75eca71f2eab4f3a5ad76fd3b53c3c2378b64a44 (patch)
treecc27c385bdeafd6f9c444f0e5109a9412a1955f3 /lib/layer/iterate.c
parentMerge !166: accept packets with junk after end (by default) (diff)
downloadknot-resolver-75eca71f2eab4f3a5ad76fd3b53c3c2378b64a44.tar.xz
knot-resolver-75eca71f2eab4f3a5ad76fd3b53c3c2378b64a44.zip
iterate: fix typo from !165
Oh, I failed to notice this typo. Clang is just better than gcc in this.
Diffstat (limited to '')
-rw-r--r--lib/layer/iterate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/layer/iterate.c b/lib/layer/iterate.c
index 25f3a616..54e68fd6 100644
--- a/lib/layer/iterate.c
+++ b/lib/layer/iterate.c
@@ -731,7 +731,7 @@ static int resolve_badmsg(knot_pkt_t *pkt, struct kr_request *req, struct kr_que
if (query->flags & QUERY_SAFEMODE) {
return resolve_error(pkt, req);
} else if (query->flags & QUERY_NO_MINIMIZE) {
- query->flags | QUERY_SAFEMODE;
+ query->flags |= QUERY_SAFEMODE;
return KR_STATE_DONE;
} else {
query->flags |= QUERY_NO_MINIMIZE;