termux-packages/packages/bitlbee/otr.c.patch

12 lines
285 B
Diff
Raw Normal View History

2022-04-01 07:56:54 +00:00
--- a/otr.c
+++ b/otr.c
@@ -2021,7 +2021,7 @@
myfgets(accountname, 512, input);
myfgets(protocol, 512, input);
- strncpy(filename, "/tmp/bitlbee-XXXXXX", 128);
+ strncpy(filename, "@TERMUX_PREFIX@/tmp/bitlbee-XXXXXX", 128);
tempfd = mkstemp(filename);
close(tempfd);