termux-packages/packages/transmission/fix_tmpdir.patch

14 lines
325 B
Diff
Raw Normal View History

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