diff options
author | Andi Gutmans <andi@php.net> | 2000-06-16 01:25:02 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-06-16 01:25:02 +0000 |
commit | e3ae196da80914b95a959c36e30e82e2fcf3bfde (patch) | |
tree | a20d718416b631426b754595ce91599dda1f0363 /main | |
parent | f8ecf34bf168b058337e5eac5c0c04fe911cffe8 (diff) | |
download | php-git-e3ae196da80914b95a959c36e30e82e2fcf3bfde.tar.gz |
- Don't need to check doc_root's length twice
Diffstat (limited to 'main')
-rw-r--r-- | main/fopen_wrappers.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 7bcc9086fb..4e51ec0b19 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -333,7 +333,6 @@ PHPAPI FILE *php_fopen_primary_script(void) #else if (IS_SLASH(*PG(doc_root))) { #endif - length = strlen(PG(doc_root)); filename = emalloc(length + strlen(path_info) + 2); if (filename) { memcpy(filename, PG(doc_root), length); |