Comparing version 1.0.2 to 1.0.3
@@ -134,5 +134,7 @@ // Load modules | ||
socket.send(message, 0, message.length, settings.port, settings.host, function (err) { | ||
socket.send(message, 0, message.length, settings.port, settings.host, function (err, bytes) { | ||
if (err) { | ||
if (err || | ||
bytes !== 48) { | ||
return finish(err || new Error('Could not send entire message')); | ||
@@ -139,0 +141,0 @@ } |
{ | ||
"name": "sntp", | ||
"description": "SNTP Client", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": "Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)", | ||
@@ -6,0 +6,0 @@ "contributors": [], |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25535
560