]> granicus.if.org Git - php/commitdiff
Fix typo
authorRasmus Lerdorf <rasmus@php.net>
Thu, 25 Jan 2007 06:12:58 +0000 (06:12 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Thu, 25 Jan 2007 06:12:58 +0000 (06:12 +0000)
ext/standard/user_filters.c

index 60beea5c1c5a85a839b7560fd8a24d2834c42b27..7b9b6362a3e830fdc24c2a404b12ac089d51876f 100644 (file)
@@ -280,7 +280,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';