summaryrefslogtreecommitdiff
path: root/src/manconv_client.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-10-29 03:29:17 +0100
committerColin Watson <cjwatson@debian.org>2010-10-29 03:29:17 +0100
commit8cae89b5aa3ce7305052bd2e776399712cb37e8a (patch)
treef8890e6bf5d4b4dd6c8547c984dc63be15ab7a2f /src/manconv_client.c
parent3bb4bef6e08add6bda72f5441a0b088265cfb17d (diff)
* lib/pipeline.c, lib/pipeline.h: Rename command to pipecmd,
command_* to pipecmd_*, and COMMAND_* to PIPECMD_*. Update all callers.
Diffstat (limited to 'src/manconv_client.c')
-rw-r--r--src/manconv_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manconv_client.c b/src/manconv_client.c
index a2d0d2e1..7533b14c 100644
--- a/src/manconv_client.c
+++ b/src/manconv_client.c
@@ -68,7 +68,7 @@ void add_manconv (pipeline *p, const char *source, const char *target)
{
struct manconv_codes *codes = xmalloc (sizeof *codes);
char *name;
- command *cmd;
+ pipecmd *cmd;
if (STREQ (source, "UTF-8") && STREQ (target, "UTF-8"))
return;
@@ -92,7 +92,7 @@ void add_manconv (pipeline *p, const char *source, const char *target)
name = appendstr (name, " -t ", codes->to, NULL);
if (quiet >= 2)
name = appendstr (name, " -q", NULL);
- cmd = command_new_function (name, &manconv_stdin, &free_manconv_codes,
+ cmd = pipecmd_new_function (name, &manconv_stdin, &free_manconv_codes,
codes);
free (name);
pipeline_command (p, cmd);