2
2
mirror of https://git.coolaj86.com/coolaj86/telebit.js.git synced 2025-03-02 22:50:41 +00:00

use callback if necessary

This commit is contained in:
AJ ONeal 2016-10-11 13:57:21 -06:00
parent 64cfee686e
commit 0ca2c91731

View File

@ -135,6 +135,10 @@ stunnel.connect({
httpsServer.emit('connection', myDuplex);
if (cb) {
cb();
}
return myDuplex;
}
});