Commit | Line | Data |
---|---|---|
70c41236 FF |
1 | diff -u -r ../iperf-3.2/src/iperf_api.c ./src/iperf_api.c |
2 | --- ../iperf-3.2/src/iperf_api.c 2017-06-26 19:42:56.000000000 +0200 | |
3 | +++ ./src/iperf_api.c 2017-07-26 14:00:54.136126122 +0200 | |
4 | @@ -3168,7 +3168,7 @@ | |
5 | tempdir = getenv("TMP"); | |
6 | } | |
7 | if (tempdir == 0){ | |
8 | - tempdir = "/tmp"; | |
9 | + tempdir = "@TERMUX_PREFIX@/tmp"; | |
10 | } | |
11 | snprintf(template, sizeof(template) / sizeof(char), "%s/iperf3.XXXXXX", tempdir); | |
12 | } |