From 87edbb2d3aae2e6549f0f6024d4d0e7a6e0c1a1d Mon Sep 17 00:00:00 2001 From: Brenton Bostick Date: Tue, 31 Jan 2023 09:53:49 -0500 Subject: [PATCH] fix ANDROID-50: RESULT_ERROR_BAD_PARAMETER typo --- java/jni/ZT_jniutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/jni/ZT_jniutils.cpp b/java/jni/ZT_jniutils.cpp index f3d528183..82772b979 100644 --- a/java/jni/ZT_jniutils.cpp +++ b/java/jni/ZT_jniutils.cpp @@ -69,7 +69,7 @@ jobject createResultObject(JNIEnv *env, ZT_ResultCode code) break; case ZT_RESULT_ERROR_BAD_PARAMETER: LOGV("ZT_RESULT_ERROR_BAD_PARAMETER"); - fieldName = "ZT_RESULT_ERROR_BAD_PARAMETER"; + fieldName = "RESULT_ERROR_BAD_PARAMETER"; break; case ZT_RESULT_FATAL_ERROR_INTERNAL: default: