small fixes

This commit is contained in:
Marc Wäckerlin committed 2016-01-25 08:00:44 +00:00
1 parent ecd96901f4
commit 124774bf9e
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -228,7 +228,7 @@ module.exports = function(io) {
date: (new Date()).getTime(),
data: {}
};
if (err) {cb3(err); return}
if (err) {cb3(); console.log(err); return}
data.trim().split('\n').forEach(function(v, i) {
var vals = v.split(' ');
switch (vals.length) {