add ipc param in connect methods

This commit is contained in:
Theadd 2014-07-27 20:40:52 +02:00
parent 390cb7f78d
commit 45a0b8ee46

View file

@ -219,7 +219,7 @@ function connect(id,path,callback){
ipc.of[id].connect(); ipc.of[id].connect();
callback(); callback(ipc);
} }
function connectNet(id,host,port,callback){ function connectNet(id,host,port,callback){
@ -289,7 +289,7 @@ function connectNet(id,host,port,callback){
ipc.of[id].connect(); ipc.of[id].connect();
callback(); callback(ipc);
} }
module.exports=ipc; module.exports=ipc;