fix typo
authorMichael Wallner <mike@php.net>
Tue, 17 May 2016 14:34:36 +0000 (16:34 +0200)
committerMichael Wallner <mike@php.net>
Tue, 17 May 2016 14:34:36 +0000 (16:34 +0200)
src/php_pqstm.c

index 0f74b2b..1eb943b 100644 (file)
@@ -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);
                        }
                }
        }