summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-25 21:58:48 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-25 21:58:48 +0000
commitc03328857394bef36ffa9678d33079ad96e4a4e4 (patch)
treec0fb250db3b1bb996fc305bf56c2b74eb6d00935 /ext/standard/file.c
parent158d34c9a57816326e141e88e1409d9f377dc2ea (diff)
downloadphp-git-c03328857394bef36ffa9678d33079ad96e4a4e4.tar.gz
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r--ext/standard/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 6f7042ecc5..970a8309ae 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -2041,7 +2041,7 @@ PHP_FUNCTION(fgetcsv)
}
convert_to_string_ex(p_delim);
/* Make sure that there is at least one character in string */
- if ((*p_delim)->value.str.len < 1) {
+ if (Z_STRLEN_PP(p_delim) < 1) {
WRONG_PARAM_COUNT;
}
/* use first character from string */