diff options
author | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-26 09:00:30 +0000 |
---|---|---|
committer | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-26 09:00:30 +0000 |
commit | 0729948990160278dae99d56b05ceaef399b4fc3 (patch) | |
tree | 0c19d71a4205dd9d3dee55c43e82b385d4576080 | |
parent | 6a8a5767c2ad20f7e23856ed1a8d8f7537562bcb (diff) | |
download | php-git-0729948990160278dae99d56b05ceaef399b4fc3.tar.gz |
Parse-fix
-rw-r--r-- | ext/hyperwave/hw.c | 2 |
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); |