summaryrefslogtreecommitdiff
path: root/src/serve.c
diff options
context:
space:
mode:
authorKamal Mostafa <kamal@whence.com>2012-04-20 15:58:32 +0000
committerKamal Mostafa <kamal@whence.com>2012-04-20 15:58:32 +0000
commit3aeae5f2a6725c19f67c54c45c2ba4273ccc8030 (patch)
tree6d4f0332c218c7768f51de30bb2ca67e40cf84a4 /src/serve.c
parent979edbecc69ef3b786dc2addb2c62d64cb7f3cc9 (diff)
downloaddistcc-git-3aeae5f2a6725c19f67c54c45c2ba4273ccc8030.tar.gz
Generalize dcc_{r,x}_argv routines
Generalize the dcc_{r,x}_argv routines so they can be used to transfer arbitrary array-of-strings tokens (useful for protocol hacking experiments; no functional change).
Diffstat (limited to 'src/serve.c')
-rw-r--r--src/serve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serve.c b/src/serve.c
index 6ee6dd0..5eb940c 100644
--- a/src/serve.c
+++ b/src/serve.c
@@ -624,7 +624,7 @@ static int dcc_run_job(int in_fd,
changed_directory = 1;
}
- if ((ret = dcc_r_argv(in_fd, &argv))
+ if ((ret = dcc_r_argv(in_fd, "ARGC", "ARGV", &argv))
|| (ret = dcc_scan_args(argv, &orig_input_tmp, &orig_output_tmp,
&tweaked_argv)))
goto out_cleanup;