Fixup to clean errinf on restart so no extremely long printouts.

git-svn-id: file:///svn/unbound/trunk@1900 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-11-12 15:07:38 +00:00
parent 009b2d7c0b
commit e19f71ffa0

View file

@ -1884,6 +1884,7 @@ processFinished(struct module_qstate* qstate, struct val_qstate* vq,
val_blacklist(&qstate->blacklist, qstate->region,
qstate->reply_origin, 0);
qstate->reply_origin = NULL;
qstate->errinf = NULL;
memset(vq, 0, sizeof(*vq));
vq->restart_count = restart_count;
vq->state = VAL_INIT_STATE;