summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_file_cache.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-07-17 20:30:21 +0200
committerAnatol Belski <ab@php.net>2015-07-17 20:30:21 +0200
commita6859539691368a60cc48f2d2ef614aff38f037e (patch)
tree393329731b6f4a02c5a93144670448dff7c3d33e /ext/opcache/zend_file_cache.c
parent5c95226d50e565b43d9e7f2d4ff4deeaf7ec8942 (diff)
downloadphp-git-a6859539691368a60cc48f2d2ef614aff38f037e.tar.gz
fix duplicated line
Diffstat (limited to 'ext/opcache/zend_file_cache.c')
-rw-r--r--ext/opcache/zend_file_cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c
index 22de16804a..a2a5343deb 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