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 0f74b2b65ef7aaa238179663588abaedf640d0d1..1eb943bea1b4cac83db2d29c41c353f9fa28c5f0 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);
                        }
                }
        }