]> granicus.if.org Git - php/commitdiff
Fixed copy/paste mistake
authorDmitry Stogov <dmitry@zend.com>
Mon, 25 Mar 2013 09:30:45 +0000 (13:30 +0400)
committerDmitry Stogov <dmitry@zend.com>
Mon, 25 Mar 2013 09:30:45 +0000 (13:30 +0400)
ext/opcache/ZendAccelerator.c

index bfe9d67fcbfc63ec2d7372c33397f7f07bbdfdf2..694bbed552e810766170c8b9a115e2858ed8b9c1 100644 (file)
@@ -137,7 +137,7 @@ static inline int is_stream_path(const char *filename)
 static inline int is_cachable_stream_path(const char *filename)
 {
        return memcmp(filename, "file://", sizeof("file://") - 1) == 0 ||
-              memcmp(filename, "phar://", sizeof("file://") - 1) == 0;
+              memcmp(filename, "phar://", sizeof("phar://") - 1) == 0;
 }
 
 /* O+ overrides PHP chdir() function and remembers the current working directory