]> granicus.if.org Git - php/commitdiff
fix typo & build
authorAntony Dovgal <tony2001@php.net>
Tue, 29 May 2007 20:31:22 +0000 (20:31 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 29 May 2007 20:31:22 +0000 (20:31 +0000)
ext/standard/user_filters.c

index e366d7c9293adda1935d6784f2e67f14d59b03ea..9a81bd0d7881bb50ed1b803baac06449142bd057 100644 (file)
@@ -284,7 +284,7 @@ static php_stream_filter *user_filter_factory_create(const char *filtername,
                        char *wildcard = emalloc(len + 3);
 
                        /* Search for wildcard matches instead */
-                       memcpy(wildname, filtername, len + 1); /* copy \0 */
+                       memcpy(wildcard, filtername, len + 1); /* copy \0 */
                        period = wildcard + (period - filtername);
                        while (period) {
                                *period = '\0';