diff options
| author | Antony Dovgal <tony2001@php.net> | 2007-05-29 20:31:22 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2007-05-29 20:31:22 +0000 |
| commit | 859b4e8d2faf53deb5577f3b4261507c1a0e8de0 (patch) | |
| tree | 3a3c10f28c59c4a99182e6f38fadee10480379ac | |
| parent | 16c9af1c7dad2155a7175a0b50b84e6632a9c14f (diff) | |
| download | php-git-859b4e8d2faf53deb5577f3b4261507c1a0e8de0.tar.gz | |
fix typo & build
| -rw-r--r-- | ext/standard/user_filters.c | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |
