Commit 797b95b7 authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

Actually call back on a timeout

parent a2a9dc02
......@@ -683,8 +683,10 @@ DNS.prototype.resolveProcess = function(host, callback, dnstype, thisObj)
break;
};
}
if (rectype === undefined)
if (rectype === undefined) {
this.callback.call(this.thisObj, null);
return;
}
if (this[rectype].addrs === undefined)
this[rectype].addrs = [];
......
Markdown is supported
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