aboutsummaryrefslogtreecommitdiff
path: root/src/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec.c')
-rw-r--r--src/exec.c26
1 files changed, 2 insertions, 24 deletions
diff --git a/src/exec.c b/src/exec.c
index 3abfde5..916e58e 100644
--- a/src/exec.c
+++ b/src/exec.c
@@ -4,3 +4,3 @@
This file is part of GNU Anubis.
- Copyright (C) 2001-2014 The Anubis Team.
+ Copyright (C) 2001-2024 The Anubis Team.
@@ -105,4 +105,3 @@ make_local_connection_fd (char *exec_path, char **exec_args)
{
- char *args;
- argcv_string (-1, exec_args, &args);
+ char *args = argv_string (exec_args);
info (VERBOSE, _("Executing %s..."), args);
@@ -157,23 +156,2 @@ make_local_connection (char *exec_path, char **exec_args)
-/*************************************
- Use an external program, which works
- on standard input and output.
-**************************************/
-
-char *
-external_program (int *rs, char *path, char *src, char *dst, int dstsize)
-{
- int rc;
- char *ret;
- int argc;
- char **argv = 0;
-
- if ((rc = argcv_get (path, "", "#", &argc, &argv)))
- anubis_error (EX_SOFTWARE, rc, _("argcv_get failed"));
-
- ret = exec_argv (rs, argv[0], argv, src, dst, dstsize);
- argcv_free (argc, argv);
- return ret;
-}
-
char *

Return to:

Send suggestions and report system problems to the System administrator.