summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2018-09-24 20:53:42 +1000
committerChristopher Jones <sixd@php.net>2018-09-24 20:53:42 +1000
commit029a8c9882c70bf1326f8bf1b9446bc11867a80c (patch)
treecfe5419993f1091ed362da8f53fe3988de7ad3b4
parent54b8dab8feba41234ebc2f20bbffa5913f0c9d7e (diff)
parent1d67577f4d6654ecb74eacae203fe3526ae2747e (diff)
downloadphp-git-029a8c9882c70bf1326f8bf1b9446bc11867a80c.tar.gz
Merge branch 'PHP-7.3'
-rw-r--r--ext/oci8/oci8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 63fb334c99..aac2484d3e 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -1788,12 +1788,12 @@ php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char
timestamp = time(NULL);
smart_str_append_unsigned_ex(&hashed_details, session_mode, 0);
- smart_str_0(&hashed_details);
-
if (persistent) {
smart_str_appendl_ex(&hashed_details, "pc", sizeof("pc") - 1, 0);
}
+ smart_str_0(&hashed_details);
+
/* make it lowercase */
php_strtolower(ZSTR_VAL(hashed_details.s), ZSTR_LEN(hashed_details.s));