From: Bob Halley Date: Sat, 28 Jan 2017 13:29:34 +0000 (-0800) Subject: Initialize received_time [ISSUE #228]. X-Git-Tag: v1.16.0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d590f0a2e1b8757a63ca8c9e71584e63d598696;p=thirdparty%2Fdnspython.git Initialize received_time [ISSUE #228]. --- diff --git a/dns/query.py b/dns/query.py index daf36dea..507b9d28 100644 --- a/dns/query.py +++ b/dns/query.py @@ -452,6 +452,7 @@ def tcp(q, where, timeout=None, port=53, af=None, source=None, source_port=0, source, source_port) s = socket_factory(af, socket.SOCK_STREAM, 0) begin_time = None + received_time = None try: expiration = _compute_expiration(timeout) s.setblocking(0)