summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2015-01-27 14:28:48 +0100
committerArne Schwabe <arne@rfc2549.org>2015-01-27 14:28:48 +0100
commit00bef7d9919ae8d2ed7a0307971f02883c87648a (patch)
treecaa5f70c70304836649929bc4b24a89b7f237ac3 /main
parent21c8890c31ae63484b47a6b92262cd5fd2c818b7 (diff)
Argh really fix issue #321
Diffstat (limited to 'main')
-rw-r--r--main/jni/jniglue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/jni/jniglue.c b/main/jni/jniglue.c
index 85d2f2d5..12e67543 100644
--- a/main/jni/jniglue.c
+++ b/main/jni/jniglue.c
@@ -7,16 +7,16 @@
#include "jniglue.h"
jint JNI_OnLoad(JavaVM *vm, void *reserved) {
+#ifndef NDEBUG
__android_log_write(ANDROID_LOG_DEBUG,"openvpn", "Loading openvpn native library $id$ compiled on " __DATE__ " " __TIME__ );
+#endif
return JNI_VERSION_1_2;
}
void android_openvpn_log(int level,const char* prefix,const char* prefix_sep,const char* m1)
{
-#ifndef NDEBUG
__android_log_print(ANDROID_LOG_DEBUG,"openvpn","%s%s%s",prefix,prefix_sep,m1);
-#endif
}
void Java_de_blinkt_openvpn_core_NativeUtils_jniclose(JNIEnv *env,jclass jo, jint fd) {