Browse files

Revert small change.

Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
  • Loading branch information...
1 parent d413fe0 commit f5e661816c6dd8b9a5a2593dc7454c1a0ba1d3be @ncb000gt committed Mar 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/bcrypt_node.cc
View
2 src/bcrypt_node.cc
@@ -361,7 +361,7 @@ bool CompareStrings(const char* s1, const char* s2) {
int s2_len = strlen(s2);
if (s1_len != s2_len) {
- return false;
+ eq = false;
}
const int max_len = (s2_len < s1_len) ? s1_len : s2_len;

3 comments on commit f5e6618

@defunctzombie
Collaborator

Make sure to mark that bad version as deprecated on npm. Or possibly unpublish it.

@ncb000gt
Owner

Already unpublished and republished with the appropriate code. Although, I guess I probably should have bumped the version in case anyone nabbed it in between... =\

@rv-kip

I would suggest a version # bump. We got caught out by the duplicate version number.

Please sign in to comment.