about summary refs log tree commit diff
path: root/url.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-13 21:57:55 -0500
committerJune McEnroe <june@causal.agency>2020-02-13 21:57:55 -0500
commit1e226593ef9860237ec08ad66affcb7da7138f5d (patch)
tree2b0bc6c5902166a71412128cd17f4f4c066906ba /url.c
parentSet swap correctly when closing a window (diff)
downloadcatgirl-1e226593ef9860237ec08ad66affcb7da7138f5d.tar.gz
catgirl-1e226593ef9860237ec08ad66affcb7da7138f5d.zip
Rename procPipe to utilPipe
Diffstat (limited to '')
-rw-r--r--url.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/url.c b/url.c
index bf3d948..43c2ee9 100644
--- a/url.c
+++ b/url.c
@@ -107,8 +107,8 @@ static void urlOpen(const char *url) {
 	if (pid) return;
 
 	close(STDIN_FILENO);
-	dup2(procPipe[1], STDOUT_FILENO);
-	dup2(procPipe[1], STDERR_FILENO);
+	dup2(utilPipe[1], STDOUT_FILENO);
+	dup2(utilPipe[1], STDERR_FILENO);
 	if (urlOpenUtil.argc) {
 		struct Util util = urlOpenUtil;
 		utilPush(&util, url);
@@ -156,8 +156,8 @@ static void urlCopy(const char *url) {
 	}
 
 	dup2(rw[0], STDIN_FILENO);
-	dup2(procPipe[1], STDOUT_FILENO);
-	dup2(procPipe[1], STDERR_FILENO);
+	dup2(utilPipe[1], STDOUT_FILENO);
+	dup2(utilPipe[1], STDERR_FILENO);
 	close(rw[0]);
 	if (urlCopyUtil.argc) {
 		execvp(urlCopyUtil.argv[0], (char *const *)urlCopyUtil.argv);