mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-21 07:19:57 +00:00
less lines
This commit is contained in:
parent
bc72800fef
commit
0bd4db4cc7
@ -56,14 +56,11 @@ JNIEXPORT jstring JNICALL Java_org_purplei2p_i2pd_I2PD_1JNI_startDaemon
|
|||||||
strcpy(argv[i], argStr);
|
strcpy(argv[i], argStr);
|
||||||
env->ReleaseStringUTFChars(arg, argStr);
|
env->ReleaseStringUTFChars(arg, argStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* result = i2p::android::start(argc,argv).c_str();
|
const char* result = i2p::android::start(argc,argv).c_str();
|
||||||
|
|
||||||
for (int i = 0; i < argc; i++) {
|
for (int i = 0; i < argc; i++) {
|
||||||
delete [] argv[i];
|
delete [] argv[i];
|
||||||
}
|
}
|
||||||
delete [] argv;
|
delete [] argv;
|
||||||
|
|
||||||
return env->NewStringUTF(result);
|
return env->NewStringUTF(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user