1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-12-28 17:08:08 +00:00

fix typo hiding argv

This commit is contained in:
Greg Alexander 2014-12-16 17:31:14 -05:00
parent 304044bc05
commit 8a8b4c3acb

View File

@ -103,7 +103,7 @@ Java_org_galexander_sshd_SimpleSSHDService_start_1sshd(JNIEnv *env_,
argc++;
}
fprintf(stderr, "starting dropbear\n");
retval = dropbear_main(1, argv);
retval = dropbear_main(argc, argv);
fprintf(stderr, "dropbear finished (%d)\n", retval);
} else {
(*env)->SetStaticIntField(env, cl_simplesshdservice,