This commit is contained in:
加里 2014-08-09 16:41:43 +08:00
parent 5e87fd0707
commit b63ddcf955

View File

@ -1,6 +1,6 @@
var portrange = 40000;
module.exports = function(cb) {
function getPort(cb) {
var port = portrange;
++portrange;
@ -15,3 +15,5 @@ module.exports = function(cb) {
getPort(cb);
});
};
module.exports = getPort;