termux-packages/packages/goaccess/websocket.h.patch
2019-11-18 21:37:22 +02:00

15 lines
620 B
Diff

diff -uNr goaccess-1.3/src/websocket.h goaccess-1.3.mod/src/websocket.h
--- goaccess-1.3/src/websocket.h 2018-11-23 04:00:08.000000000 +0200
+++ goaccess-1.3.mod/src/websocket.h 2019-02-01 01:30:02.260971076 +0200
@@ -90,8 +90,8 @@
#define MAX(a,b) (((a)>(b))?(a):(b))
#include "gslist.h"
-#define WS_PIPEIN "/tmp/wspipein.fifo"
-#define WS_PIPEOUT "/tmp/wspipeout.fifo"
+#define WS_PIPEIN "@TERMUX_PREFIX@/tmp/wspipein.fifo"
+#define WS_PIPEOUT "@TERMUX_PREFIX@/tmp/wspipeout.fifo"
#define WS_BAD_REQUEST_STR "HTTP/1.1 400 Invalid Request\r\n\r\n"
#define WS_SWITCH_PROTO_STR "HTTP/1.1 101 Switching Protocols"