Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4151775

Browse files
committed
Issue #2098
1 parent a47c38a commit 4151775

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3599,7 +3599,7 @@ int redis_extract_auth_info(zval *ztest, zend_string **user, zend_string **pass)
35993599

36003600
/* Handle a non-array first */
36013601
if (Z_TYPE_P(ztest) != IS_ARRAY) {
3602-
*pass = zval_get_string(ztest);
3602+
TRY_SET_AUTH_ARG(ztest, pass);
36033603
return SUCCESS;
36043604
}
36053605

0 commit comments

Comments
 (0)