From: Rasmus Lerdorf Date: Thu, 25 Jan 2007 06:12:58 +0000 (+0000) Subject: Fix typo X-Git-Tag: RELEASE_1_2_3~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49dbf804add0c4d6b4a922923ad35e82eef63cdc;p=php Fix typo --- diff --git a/ext/standard/user_filters.c b/ext/standard/user_filters.c index 60beea5c1c..7b9b6362a3 100644 --- a/ext/standard/user_filters.c +++ b/ext/standard/user_filters.c @@ -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';