Browse Source

less lines

pull/1064/head^2
unlnown542a 7 years ago
parent
commit
0bd4db4cc7
  1. 3
      android/jni/i2pd_android.cpp

3
android/jni/i2pd_android.cpp

@ -56,14 +56,11 @@ JNIEXPORT jstring JNICALL Java_org_purplei2p_i2pd_I2PD_1JNI_startDaemon @@ -56,14 +56,11 @@ JNIEXPORT jstring JNICALL Java_org_purplei2p_i2pd_I2PD_1JNI_startDaemon
strcpy(argv[i], argStr);
env->ReleaseStringUTFChars(arg, argStr);
}
const char* result = i2p::android::start(argc,argv).c_str();
for (int i = 0; i < argc; i++) {
delete [] argv[i];
}
delete [] argv;
return env->NewStringUTF(result);
}

Loading…
Cancel
Save