Skip to content

Commit

Permalink
Correcting temporary folder on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikushin committed Feb 2, 2020
1 parent c00813e commit 9caa0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openbsd-compat/getaddrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int getaddrinfo_android(
return EAI_FAIL;
}

char filename[] = "/tmp/XXXXXX";
char filename[] = "/data/local/tmp/XXXXXX";
int fd = mkstemp(filename);
if (fd < 1)
{
Expand Down

0 comments on commit 9caa0b3

Please sign in to comment.