Permalink
Browse files

Merge pull request #74 from jerem/patch-1

Fixed a typo.
  • Loading branch information...
2 parents d542d88 + e4b0558 commit 426df1255f1d7560cc607d05fc1c9d93bff433f7 @tj committed Apr 3, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/connect-redis.js
View
@@ -1,4 +1,3 @@
-
/*!
* Connect - Redis
* Copyright(c) 2012 TJ Holowaychuk <tj@vision-media.ca>
@@ -124,7 +123,7 @@ module.exports = function(connect){
? maxAge / 1000 | 0
: oneDay);
- debug('SETEX "%s" ttl:%s %s', sid, sess);
+ debug('SETEX "%s" ttl:%s %s', sid, ttl, sess);
this.client.setex(sid, ttl, sess, function(err){
err || debug('SETEX complete');
fn && fn.apply(this, arguments);

0 comments on commit 426df12

Please sign in to comment.