Comparing version 0.0.11 to 0.0.12
@@ -145,2 +145,3 @@ "use strict"; | ||
S.setNoDelay(true); | ||
S.setEncoding('utf8'); | ||
S.metaData = []; | ||
@@ -253,3 +254,3 @@ S.responseBuffer = ""; | ||
this.connect(server, function allocateMemcachedConnection (error, S) { | ||
if (Client.config.debug) { | ||
if (memcached.debug) { | ||
query.command.split(LINEBREAK).forEach(function errors (line) { | ||
@@ -550,3 +551,3 @@ console.log(S.streamID + ' << ' + line); | ||
if (Client.config.debug) { | ||
if (this.debug) { | ||
chunks.forEach(function each (line) { | ||
@@ -901,3 +902,3 @@ console.log(S.streamID + ' >> ' + line); | ||
, responses = [] | ||
, errors = null | ||
, errors | ||
, calls; | ||
@@ -914,3 +915,3 @@ | ||
// multi calls should ALWAYS return an array! | ||
if (!--calls) callback(errors, responses); | ||
if (!--calls) callback(errors && errors.length ? errors.pop() : undefined, responses); | ||
} | ||
@@ -917,0 +918,0 @@ |
{ | ||
"name": "memcached", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"author": { | ||
@@ -65,2 +65,5 @@ "name": "Arnout Kazemier" | ||
{ | ||
"name": "Ron Korving" | ||
}, | ||
{ | ||
"name": "Tobias Müllerleile" | ||
@@ -67,0 +70,0 @@ } |
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
260676
1580