Skip to content

Commit 92592c9

Browse files
committed
callback(err, date) was a nonsense
1 parent b904d14 commit 92592c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ntp-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
var date = new Date("Jan 01 1900 GMT");
6464
date.setUTCMilliseconds(date.getUTCMilliseconds() + milliseconds);
6565

66-
callback(err, date);
66+
callback(null, date);
6767
});
6868
});
6969
};

0 commit comments

Comments
 (0)