Permalink
Browse files

Don't encode the same argument over and over.

  • Loading branch information...
1 parent 62cce69 commit 9caa8ab088f6916bbe458abf411c7056b73e9ca4 @maxtaco maxtaco committed Feb 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/msgpack.cc
View
@@ -306,7 +306,7 @@ pack(const Arguments &args) {
msgpack_object mo;
try {
- v8_to_msgpack(args[0], &mo, &mz._mz, &mc);
+ v8_to_msgpack(args[i], &mo, &mz._mz, &mc);
} catch (MsgpackException e) {
return ThrowException(e.getThrownException());
}

0 comments on commit 9caa8ab

Please sign in to comment.