mirror of
https://github.com/php/php-src.git
synced 2024-12-01 22:03:36 +08:00
Typo.
# I don't know where I got 4.02 from
This commit is contained in:
parent
64ad839328
commit
5d3939ac39
@ -2125,7 +2125,7 @@ size_t php_fread_all(char **buf, int socket, FILE *fp, int issock) {
|
||||
}
|
||||
|
||||
/* See http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2 */
|
||||
#define PHP_META_HTML402_CHARS "-_.:"
|
||||
#define PHP_META_HTML401_CHARS "-_.:"
|
||||
|
||||
/* Tokenizes an HTML file for get_meta_tags */
|
||||
php_meta_tags_token php_next_meta_token(FILE *fp, int socketd, int issock, int *use_last_char, int *last_char, char **data, int *datalen) {
|
||||
@ -2186,7 +2186,7 @@ php_meta_tags_token php_next_meta_token(FILE *fp, int socketd, int issock, int *
|
||||
buff[(*datalen)++] = ch;
|
||||
while (!FP_FEOF(socketd,fp,issock) &&
|
||||
(ch = FP_FGETC(socketd,fp,issock)) &&
|
||||
(isalnum(ch) || strchr(PHP_META_HTML402_CHARS,ch))) {
|
||||
(isalnum(ch) || strchr(PHP_META_HTML401_CHARS,ch))) {
|
||||
|
||||
buff[(*datalen)++] = ch;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user