summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/build.xml2
-rw-r--r--java/jni/ZT1_jniutils.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/java/build.xml b/java/build.xml
index c1f0a771..2057a509 100644
--- a/java/build.xml
+++ b/java/build.xml
@@ -4,7 +4,7 @@
<target name="clean">
<delete dir="bin" failonerror="false"/>
<delete dir="classes" failonerror="false"/>
- <!--<delete dir="libs" failonerror="false"/>-->
+ <delete dir="libs" failonerror="false"/>
<delete dir="obj" failonerror="false"/>
</target>
diff --git a/java/jni/ZT1_jniutils.cpp b/java/jni/ZT1_jniutils.cpp
index af7a58bc..fc97eb7d 100644
--- a/java/jni/ZT1_jniutils.cpp
+++ b/java/jni/ZT1_jniutils.cpp
@@ -38,20 +38,20 @@ jobject createResultObject(JNIEnv *env, ZT1_ResultCode code)
switch(code)
{
case ZT1_RESULT_OK:
- fieldName = "ZT1_RESULT_OK";
+ fieldName = "RESULT_OK";
break;
case ZT1_RESULT_FATAL_ERROR_OUT_OF_MEMORY:
- fieldName = "ZT1_RESULT_FATAL_ERROR_OUT_OF_MEMORY";
+ fieldName = "RESULT_FATAL_ERROR_OUT_OF_MEMORY";
break;
case ZT1_RESULT_FATAL_ERROR_DATA_STORE_FAILED:
- fieldName = "ZT1_RESULT_FATAL_ERROR_DATA_STORE_FAILED";
+ fieldName = "RESULT_FATAL_ERROR_DATA_STORE_FAILED";
break;
case ZT1_RESULT_ERROR_NETWORK_NOT_FOUND:
- fieldName = "ZT1_RESULT_ERROR_NETWORK_NOT_FOUND";
+ fieldName = "RESULT_ERROR_NETWORK_NOT_FOUND";
break;
case ZT1_RESULT_FATAL_ERROR_INTERNAL:
default:
- fieldName = "ZT1_RESULT_FATAL_ERROR_INTERNAL";
+ fieldName = "RESULT_FATAL_ERROR_INTERNAL";
break;
}