summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-05-11 22:54:27 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-11 22:58:03 +0200
commitc7c4020384fe563eda2d89cb435449ce963d7c92 (patch)
tree49270e25442cea89b1b4edafd3479c620ab8d2db /sysdep
parent9d93bc7e728b6fb098161a04160e7bd2798ffc01 (diff)
WIP Use abstract unix sockets on Android
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/wg_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/wg_user.c b/sysdep/unix/wg_user.c
index 2a7e78b1..5d4d59a0 100644
--- a/sysdep/unix/wg_user.c
+++ b/sysdep/unix/wg_user.c
@@ -22,7 +22,7 @@ socklen_t get_socket_path(const char *ifname, char *buf, uint size)
#ifdef ANDROID
/* Abstract socket */
buf[pos++] = 0;
-#end
+#endif
bsnprintf(buf+pos, size-pos, SOCKET_PATH "%s.sock", ifname);
return pos + strlen(buf+pos);
}