termux-packages/packages/transmission/fix_tmpdir.patch
2020-06-16 13:37:22 +03:00

14 lines
325 B
Diff

diff --git a/libtransmission/platform.c b/libtransmission/platform.c
index cf0ecd8..578c044 100644
--- a/libtransmission/platform.c
+++ b/libtransmission/platform.c
@@ -649,7 +649,7 @@ char* tr_getSessionIdDir(void)
{
#ifndef _WIN32
- return tr_strdup("/tmp");
+ return tr_strdup("@TERMUX_PREFIX@/tmp");
#else