From: Antony Dovgal Date: Tue, 29 May 2007 20:31:22 +0000 (+0000) Subject: fix typo & build X-Git-Tag: RELEASE_1_4~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=859b4e8d2faf53deb5577f3b4261507c1a0e8de0;p=php fix typo & build --- diff --git a/ext/standard/user_filters.c b/ext/standard/user_filters.c index e366d7c929..9a81bd0d78 100644 --- a/ext/standard/user_filters.c +++ b/ext/standard/user_filters.c @@ -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';