From 5d3939ac39eaaeb4c7e8faaaba3ce942fc013b2f Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Tue, 6 Mar 2001 04:42:04 +0000 Subject: [PATCH] Typo. # I don't know where I got 4.02 from --- ext/standard/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/file.c b/ext/standard/file.c index 529e952ff01..b1500e37d81 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -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;