diff options
author | Jani Taskinen <jani@php.net> | 2007-08-08 10:00:34 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2007-08-08 10:00:34 +0000 |
commit | 9c07366bb0a9cf018aefc5b44c9b3e11dbe73dc4 (patch) | |
tree | 9a83bb6cfd750d3d59be36b38729b3a03eea7246 /sapi/cgi | |
parent | 0d5dd8829bdc4da707dbcba9aa504d2b493ad60b (diff) | |
download | php-git-9c07366bb0a9cf018aefc5b44c9b3e11dbe73dc4.tar.gz |
MFH: fix typos in comments
Diffstat (limited to 'sapi/cgi')
-rw-r--r-- | sapi/cgi/cgi_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index bf58269751..bd7b1cfb20 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -865,7 +865,7 @@ static void init_request_info(TSRMLS_D) */ env_script_name = pt + l; - /* PATH_TRANSATED = DOCUMENT_ROOT + PATH_INFO */ + /* PATH_TRANSLATED = DOCUMENT_ROOT + PATH_INFO */ path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0); path_translated = (char *) emalloc(path_translated_len + 1); memcpy(path_translated, env_document_root, l); @@ -881,7 +881,7 @@ static void init_request_info(TSRMLS_D) } else if (env_script_name && strstr(pt, env_script_name) ) { - /* PATH_TRANSATED = PATH_TRANSATED - SCRIPT_NAME + PATH_INFO */ + /* PATH_TRANSLATED = PATH_TRANSLATED - SCRIPT_NAME + PATH_INFO */ int ptlen = strlen(pt) - strlen(env_script_name); int path_translated_len = ptlen + env_path_info ? strlen(env_path_info) : 0; char *path_translated = NULL; @@ -957,7 +957,7 @@ static void init_request_info(TSRMLS_D) if (real_path) { free(real_path); } - } + } } else { #endif /* pre 4.3 behaviour, shouldn't be used but provides BC */ |