com php-src: fix copypaste error: ext/standard/html.c
| From: | Stanislav Malyshev | Date: | Wed, 12 Nov 2014 00:33:02 +0000 |
| Subject: | com php-src: fix copypaste error: ext/standard/html.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83034@lists.php.net to get a copy of this message | ||
Commit: 4571cc2195dfba340c39952fa3cbb545c5d41f0e
Author: Stanislav Malyshev <stas@php.net> Tue, 4 Nov 2014 21:48:44 -0800
Parents: 74d6c23b3988f72329387c866ec3294cdbc28213
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4571cc2195dfba340c39952fa3cbb545c5d41f0e
Log:
fix copypaste error
Changed paths:
M ext/standard/html.c
Diff:
diff --git a/ext/standard/html.c b/ext/standard/html.c
index fd210c8..1d6eaa4 100644
--- a/ext/standard/html.c
+++ b/ext/standard/html.c
@@ -395,7 +395,7 @@ static enum entity_charset determine_charset(char *charset_hint TSRMLS_DC)
if ((len == 4) /* sizeof (none|auto|pass) */ &&
(!memcmp("pass", charset_hint, 4) ||
!memcmp("auto", charset_hint, 4) ||
- !memcmp("auto", charset_hint, 4))) {
+ !memcmp("none", charset_hint, 4))) {
charset_hint = NULL;
len = 0;
} else {