diff options
Diffstat (limited to 'ext/oci8/oci8.c')
-rw-r--r-- | ext/oci8/oci8.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index f05c0e8109..3c63692533 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -2090,7 +2090,7 @@ php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char if (alloc_non_persistent) { connection = (php_oci_connection *) ecalloc(1, sizeof(php_oci_connection)); - connection->hash_key = zend_str_dup(hashed_details.s, 0); + connection->hash_key = zend_string_dup(hashed_details.s, 0); connection->is_persistent = 0; #ifdef HAVE_OCI8_DTRACE connection->client_id = NULL; @@ -2100,7 +2100,7 @@ php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char if (connection == NULL) { return NULL; } - connection->hash_key = zend_str_dup(hashed_details.s, 1); + connection->hash_key = zend_string_dup(hashed_details.s, 1); if (connection->hash_key == NULL) { free(connection); return NULL; @@ -2112,7 +2112,7 @@ php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char } } else { connection = (php_oci_connection *) ecalloc(1, sizeof(php_oci_connection)); - connection->hash_key = zend_str_dup(hashed_details.s, 0); + connection->hash_key = zend_string_dup(hashed_details.s, 0); connection->is_persistent = 0; #ifdef HAVE_OCI8_DTRACE connection->client_id = NULL; @@ -2849,7 +2849,7 @@ static php_oci_spool *php_oci_create_spool(char *username, int username_len, cha /* Populate key if passed */ if (hash_key->val) { - session_pool->spool_hash_key = zend_str_dup(hash_key, 1); + session_pool->spool_hash_key = zend_string_dup(hash_key, 1); if (session_pool->spool_hash_key == NULL) { iserror = 1; goto exit_create_spool; |