Skip to content

Commit

Permalink
openvpn: Fix tmp directory location for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
hazenme committed Apr 25, 2014
1 parent 21dfca9 commit 8c25b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openvpn/options.c
Expand Up @@ -866,7 +866,7 @@ init_options (struct options *o, const bool init_gc)
/* Non-windows platforms use $TMPDIR, and if not set, default to '/tmp' */
o->tmp_dir = getenv("TMPDIR");
if( !o->tmp_dir ) {
o->tmp_dir = "/tmp";
o->tmp_dir = "/data/local/tmp";
}
#endif /* WIN32 */
#endif /* P2MP_SERVER */
Expand Down

0 comments on commit 8c25b1e

Please sign in to comment.