X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_misc.h;h=d9b9e4ec5fb75df794cfbbf3bcda77c8d2a20d66;hp=32f2bc5d2ee0da75892b2892648315421184db39;hb=d01985309a42186e0c3ac1e8dd6e2d4a094d30c9;hpb=45debdc3d92b5271fe65d9fb76845a0d341d00f9 diff --git a/php_http_misc.h b/php_http_misc.h index 32f2bc5..d9b9e4e 100644 --- a/php_http_misc.h +++ b/php_http_misc.h @@ -225,7 +225,7 @@ static inline void *php_http_arrkey_stringify(php_http_arrkey_t *arrkey, zend_ha } if (key) { - memcpy(&arrkey, key, sizeof(*key)); + memcpy(arrkey, key, sizeof(*key)); } if ((arrkey->stringified = !arrkey->key)) { arrkey->key = zend_long_to_str(arrkey->h);