From 7b8f06ce0cbcb238e4a6ee4578056fcaa7e1d269 Mon Sep 17 00:00:00 2001 From: alterdekim Date: Mon, 7 Oct 2024 17:37:15 +0300 Subject: [PATCH] modified: src/main.rs --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 07facb6..8883f51 100644 --- a/src/main.rs +++ b/src/main.rs @@ -78,11 +78,11 @@ mod jni { info!("Hello world! {:?}", tun_fd); - -2 + Ok(-2) } pub extern "jni" fn stop(self, env: &JNIEnv) -> JniResult { - -1 + Ok(-1) } /*pub extern "java" fn getAppFilesDir(