summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-26 09:00:30 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-26 09:00:30 +0000
commit0729948990160278dae99d56b05ceaef399b4fc3 (patch)
tree0c19d71a4205dd9d3dee55c43e82b385d4576080
parent6a8a5767c2ad20f7e23856ed1a8d8f7537562bcb (diff)
downloadphp-git-0729948990160278dae99d56b05ceaef399b4fc3.tar.gz
Parse-fix
-rw-r--r--ext/hyperwave/hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c
index f9a3e94de5..b117b94706 100644
--- a/ext/hyperwave/hw.c
+++ b/ext/hyperwave/hw.c
@@ -2851,7 +2851,7 @@ PHP_FUNCTION(hw_new_document)
}
memcpy(doc->data, Z_STRVAL_P(arg2), Z_LVAL_P(arg3));
ptr = doc->data;
- Z_LVAL_P(ptr[arg3)] = '\0';
+ ptr[Z_LVAL_P(arg3)] = '\0';
doc->attributes = strdup(Z_STRVAL_P(arg1));
doc->bodytag = NULL;
doc->size = Z_LVAL_P(arg3);