From 859b4e8d2faf53deb5577f3b4261507c1a0e8de0 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 29 May 2007 20:31:22 +0000 Subject: [PATCH] fix typo & build --- ext/standard/user_filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.50.1