Commit cd5b3f4f authored by Michael Graff's avatar Michael Graff
Browse files

set task = NULL so we can't use it later on accident.

parent 212e466f
......@@ -190,6 +190,9 @@ dns_tcpmsg_readmessage(dns_tcpmsg_t *tcpmsg,
result = isc_socket_recv(tcpmsg->sock, &region, ISC_FALSE,
tcpmsg->task, recv_length, tcpmsg);
if (result != ISC_R_SUCCESS)
tcpmsg->task = NULL;
return (result);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment