neater code.

git-svn-id: file:///svn/unbound/trunk@4546 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2018-02-21 13:19:49 +00:00
parent b8c72d7cbc
commit 075f470778

View file

@ -1162,8 +1162,7 @@ processInitRequest(struct module_qstate* qstate, struct iter_qstate* iq,
* actual packet in iq->response cleared of RRsets,
* the stored prepend RRsets contain the loop contents
* with duplicates removed */
iq->state = FINISHED_STATE;
return 1;
return next_state(iq, FINISHED_STATE);
}
return error_response(qstate, id, LDNS_RCODE_SERVFAIL);
}