Skip to content
Snippets Groups Projects
Commit 797b95b7 authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

Actually call back on a timeout

parent a2a9dc02
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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 = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment