summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Bright <elixer@php.net>2001-03-06 04:42:04 +0000
committerSean Bright <elixer@php.net>2001-03-06 04:42:04 +0000
commit5d3939ac39eaaeb4c7e8faaaba3ce942fc013b2f (patch)
tree734cce49ae8dcdb7fe249a60cfd29ff56dd90d3a
parent64ad83932868d4aad6b5ee0639a1f7a927ab81ab (diff)
downloadphp-git-5d3939ac39eaaeb4c7e8faaaba3ce942fc013b2f.tar.gz
Typo.
# I don't know where I got 4.02 from
-rw-r--r--ext/standard/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 529e952ff0..b1500e37d8 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;