Skip to content
Permalink
Browse files
Forgot I switched order ot parameters to match C call
  • Loading branch information
enebo committed Dec 4, 2014
1 parent 2f9f898 commit 9f8b6a5
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2656,7 +2656,7 @@ public RubyString crypt(ThreadContext context, IRubyObject other) {
}

RubyString result = RubyString.newString(context.runtime,
context.runtime.getPosix().crypt(salt, asJavaString()).toString());
context.runtime.getPosix().crypt(asJavaString(), salt).toString());
result.infectBy(this);
result.infectBy(otherStr);
return result;

0 comments on commit 9f8b6a5

Please sign in to comment.