com php-src: fix duplicated line: ext/opcache/zend_file_cac he.c
| From: | Anatol Belski | Date: | Fri, 17 Jul 2015 18:30:21 +0000 |
| Subject: | com php-src: fix duplicated line: ext/opcache/zend_file_cac he.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88022@lists.php.net to get a copy of this message | ||
Commit: a6859539691368a60cc48f2d2ef614aff38f037e
Author: Anatol Belski <ab@php.net> Fri, 17 Jul 2015 20:30:21 +0200
Parents: 5c95226d50e565b43d9e7f2d4ff4deeaf7ec8942
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a6859539691368a60cc48f2d2ef614aff38f037e
Log:
fix duplicated line
Changed paths:
M ext/opcache/zend_file_cache.c
Diff:
diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c
index 22de168..a2a5343 100644
--- a/ext/opcache/zend_file_cache.c
+++ b/ext/opcache/zend_file_cache.c
@@ -689,7 +689,6 @@ static char *zend_file_cache_get_bin_file_path(zend_string *script_path)
} else {
/* network path */
memcpy(filename + len + 33, ZSTR_VAL(script_path), ZSTR_LEN(script_path));
- memcpy(filename + len + 33, ZSTR_VAL(script_path), ZSTR_LEN(script_path));
memcpy(filename + len + 33 + ZSTR_LEN(script_path), SUFFIX, sizeof(SUFFIX));
}
#endif