]> granicus.if.org Git - php/commitdiff
fix duplicated line
authorAnatol Belski <ab@php.net>
Fri, 17 Jul 2015 18:30:21 +0000 (20:30 +0200)
committerAnatol Belski <ab@php.net>
Fri, 17 Jul 2015 18:30:21 +0000 (20:30 +0200)
ext/opcache/zend_file_cache.c

index 22de16804a771213ec5afdef0473aa0175694f44..a2a5343deba6a11c15137c799b6223734682138d 100644 (file)
@@ -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