From: Anatol Belski Date: Fri, 17 Jul 2015 18:30:21 +0000 (+0200) Subject: fix duplicated line X-Git-Tag: php-7.0.0beta2~6^2~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6859539691368a60cc48f2d2ef614aff38f037e;p=php fix duplicated line --- 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