From 0729948990160278dae99d56b05ceaef399b4fc3 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Wed, 26 Sep 2001 09:00:30 +0000 Subject: [PATCH] Parse-fix --- ext/hyperwave/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1