From: Michael Wallner Date: Tue, 17 May 2016 14:34:36 +0000 (+0200) Subject: fix typo X-Git-Tag: v1.1.0~3 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=commitdiff_plain;h=a015d26134e7d557fee53eb12a945c45de2ec890 fix typo --- diff --git a/src/php_pqstm.c b/src/php_pqstm.c index 0f74b2b..1eb943b 100644 --- a/src/php_pqstm.c +++ b/src/php_pqstm.c @@ -448,7 +448,7 @@ static inline void php_pqstm_prepare_handler(INTERNAL_FUNCTION_PARAMETERS, zend_ obj->intern->allocated = 1; zend_hash_add(&obj->intern->conn->intern->statements, - obj->intern->name, strlen(obj->intern->name)+1, &obj, sizeof(obj), NULL); + obj->intern->name, strlen(obj->intern->name)+1, &obj->intern, sizeof(obj->intern), NULL); } } }