From 1e226593ef9860237ec08ad66affcb7da7138f5d Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Thu, 13 Feb 2020 21:57:55 -0500 Subject: Rename procPipe to utilPipe --- url.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'url.c') 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); -- cgit 1.4.1-2-gfad0