Skip to content

Commit

Permalink
move jvm init out of if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
YSaxon committed Jun 14, 2024
1 parent 7648c61 commit 3ade1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,8 @@ typedef int (*JNI_OnLoadFunc)(void* vm, void* reserved);
int init_jvm(JavaVM **p_vm, JNIEnv **p_env, size_t argc, char** argv){
if (argc > 0) {
printf(" [!] Warning: Arguments are not supported on this faker method\n");
jni_init();
}
jni_init();
*p_vm = &jvm;
*p_env = &jni;
}
Expand Down

0 comments on commit 3ade1f3

Please sign in to comment.