From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../httptunnel/files/httptunnel-3.3-fix_write_stdin.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net-vpn/httptunnel/files/httptunnel-3.3-fix_write_stdin.patch (limited to 'net-vpn/httptunnel/files') diff --git a/net-vpn/httptunnel/files/httptunnel-3.3-fix_write_stdin.patch b/net-vpn/httptunnel/files/httptunnel-3.3-fix_write_stdin.patch new file mode 100644 index 000000000000..904df6f91159 --- /dev/null +++ b/net-vpn/httptunnel/files/httptunnel-3.3-fix_write_stdin.patch @@ -0,0 +1,12 @@ +diff -dur httptunnel-3.3/common.c httptunnel-3.3-fix_write_stdin/common.c +--- httptunnel-3.3/common.c 2001-02-25 12:45:41.000000000 +0100 ++++ httptunnel-3.3-fix_write_stdin/common.c 2007-06-20 21:38:54.000000000 +0200 +@@ -314,7 +314,7 @@ + + /* If fd == 0, then we are using --stdin-stdout so write to stdout, + * not fd. */ +- m = write_all (fd ? fd : 0, buf, (size_t)n); ++ m = write_all (fd ? fd : 1, buf, (size_t)n); + log_annoying ("write_all (%d, %p, %d) = %d", fd ? fd : 1, buf, n, m); + return m; + } -- cgit v1.2.3