Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix compatibility to 0.9.3 node version

  • Loading branch information...
commit 065c82c01447a5236767b52dfdd5bffcc5660524 1 parent 3482bf6
@schamane authored
View
4 Changelog.md
@@ -1,3 +1,7 @@
+##1.1.7
+
+* fix compatibility to feature node 0.9.x versions
+
##1.1.6
* remove compilation flags from binding.gyp that cause build failure with older gcc versions
View
4 README.md
@@ -1,9 +1,9 @@
# Node-Syslog
-v1.1.6
+v1.1.7
This is an node module (add-on) to work with system log daemon on unix systems.
-Module is tested with node.js v0.8.1 and metalog, syslog-ng 3.1.1.
+Module is tested with node.js v0.8.16 (also dev version v0.9.3) and metalog, syslog-ng 3.1.1.
Read Wiki "setMask" page for more information about how to use "setMask" functionality.
View
2  node-syslog.js
@@ -11,7 +11,7 @@ init: SyslogWrapper.init,
log: SyslogWrapper.log,
setMask: SyslogWrapper.setMask,
close: SyslogWrapper.close,
-version: '1.1.6',
+version: '1.1.7',
/*
* facilities
View
2  package.json
@@ -1,6 +1,6 @@
{
"name": "node-syslog",
- "version": "1.1.6",
+ "version": "1.1.7",
"main": "./node-syslog",
"engines": {
"node" : ">=0.8.0"
View
3  syslog.cc
@@ -101,7 +101,8 @@ Syslog::log ( const Arguments& args)
uv_work_t *work_req = new uv_work_t();
work_req->data = log_req;
- uv_queue_work(uv_default_loop(), work_req, UV_Log, UV_AfterLog);
+ int status = uv_queue_work(uv_default_loop(), work_req, UV_Log,(uv_after_work_cb) UV_AfterLog);
+ assert(status == 0);
return scope.Close(Undefined());
}
Please sign in to comment.
Something went wrong with that request. Please try again.