From 925487e1be73d42c3ae6cf6c460cc3ee97612276 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 23 Mar 2016 18:03:31 +0000 Subject: [PATCH] cgi-fcgi-interp: Rename "command" to "script" throughout --- cprogs/cgi-fcgi-interp.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cprogs/cgi-fcgi-interp.c b/cprogs/cgi-fcgi-interp.c index d2681cf..f2ba0bd 100644 --- a/cprogs/cgi-fcgi-interp.c +++ b/cprogs/cgi-fcgi-interp.c @@ -139,7 +139,7 @@ static const struct cmdinfo cmdinfos[]= { }; static uid_t us; -static const char *run_base, *command, *socket_path; +static const char *run_base, *script, *socket_path; static bool find_run_base_var_run(void) { struct stat stab; @@ -207,7 +207,7 @@ static void find_socket_path(void) { if (!ident) { if (maxidentlen < MINHEXHASH) errx(127,"base directory `%s'" - " leaves only %d characters for command name hash" + " leaves only %d characters for id hash" " which is too little (<%d)", run_base, maxidentlen, MINHEXHASH); @@ -219,7 +219,7 @@ static void find_socket_path(void) { sha256_init(&sc); sha256_update(&sc,strlen(interp)+1,interp); - sha256_update(&sc,strlen(command)+1,command); + sha256_update(&sc,strlen(script)+1,script); sha256_digest(&sc,sizeof(bbuf),bbuf); for (i=0; i