Skip to content

Commit

Permalink
Fixed example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilm authored and fictorial committed Feb 25, 2010
1 parent 628b305 commit ece0caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This Node.js-based Redis client:
client.connect(learn_to_count);

function learn_to_count () {
client.incr('counter').addCallback(function (value) {
client.incr('counter', function (err, value) {
sys.puts("counter is now " + value);
client.close();
});
Expand Down

0 comments on commit ece0caa

Please sign in to comment.