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

Actually call back on a timeout

parent dae280dd
Branches
Tags
No related merge requests found
......@@ -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.
Please register or to comment