rem: else callargs.push(undefined); 
add: else callargs.push(null); 
context:         var callMyFunc = function(name, m) {            var myCallback = function(resp) {                winston.debug(name + ' replied to ' + JSON.stringify(m) + ' with ' + JSON.stringify(resp));                if(typeof m.seq == 'undefined') return;                if(!resp || (typeof resp != 'object')) resp = {'data': resp};                resp.seq = m.seq;                // TODO: consider setting 'oneshot'                winston.debug('Sending message "bonescript": ' + JSON.stringify(resp));                socket.emit('bonescript', resp);            };            try {                var hasCallback = false;                var callargs = [];                for(var arg in b[name].args) {                    var argname = b[name].args[arg];                    if(argname == 'callback') {                        if(typeof m.seq == 'number') callargs.push(myCallback);                        else callargs.push(undefined);                    } else if(typeof m[argname] != 'undefined') {                        callargs.push(m[argname]);                    } else {                        callargs.push(undefined);                    }                }                winston.debug('callargs = ' + JSON.stringify(callargs));                b[name].apply(this, callargs);            } catch(ex) {                winston.debug('Error handing ' + name + ' message: ' + ex);                winston.debug('m = ' + JSON.stringify(m));            }        };
meta: 3863	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3863/1f7d806051dc0607eff3d60aa5279b0b23f72f89/server.js/clean/node_modules/bonescript/server.js