summaryrefslogtreecommitdiff
path: root/jni
diff options
context:
space:
mode:
authorMartynas Mickevičius <mmartynas@gmail.com>2015-03-08 16:10:09 +0200
committerMartynas Mickevičius <mmartynas@gmail.com>2015-03-08 16:10:09 +0200
commit23d9368d169b2ce355b68711b0de3e77f742bedb (patch)
tree88dd38fd77e11ffb276a7e08f7e1b81479e2060c /jni
parentf08ea668c3059995ea390ab566bd25f3a68b0ef1 (diff)
downloadandiodine-23d9368d169b2ce355b68711b0de3e77f742bedb.tar.gz
andiodine-23d9368d169b2ce355b68711b0de3e77f742bedb.zip
Gradle build
Diffstat (limited to 'jni')
-rw-r--r--jni/Android.mk2
-rw-r--r--jni/iodine-client.c1
-rw-r--r--jni/iodine/src/base64.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index 06cf936..2117fb6 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -26,7 +26,7 @@ $(LOCAL_PATH)/iodine/src/base64u.h: $(LOCAL_PATH)/iodine/src/base64.h
@echo '/* No use in editing, produced by Makefile! */' > $@
@sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < $< >> $@
-LOCAL_MODULE := iodine-client
+LOCAL_MODULE := iodine-client
LOCAL_LDLIBS := -lz -llog
LOCAL_CFLAGS := -Wall
LOCAL_SRC_FILES := iodine-client.c \
diff --git a/jni/iodine-client.c b/jni/iodine-client.c
index 905b154..11ef7cf 100644
--- a/jni/iodine-client.c
+++ b/jni/iodine-client.c
@@ -212,4 +212,3 @@ JNIEXPORT jstring JNICALL Java_org_xapek_andiodine_IodineClient_getPropertyNetDn
__system_property_get("net.dns1", value);
return (*env)->NewStringUTF(env, value);
}
-
diff --git a/jni/iodine/src/base64.c b/jni/iodine/src/base64.c
index 00a84fc..71bbcf1 100644
--- a/jni/iodine/src/base64.c
+++ b/jni/iodine/src/base64.c
@@ -90,7 +90,7 @@ base64_reverse_init()
}
}
-static int
+static int
base64_encode(char *buf, size_t *buflen, const void *data, size_t size)
/*
* Fills *buf with max. *buflen characters, encoding size bytes of *data.