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

Skip to content

Commit 61c7cc1

Browse files
committed
Issue #1238
1 parent 344de5b commit 61c7cc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ PHP_REDIS_API int
852852
redis_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
853853
{
854854
zval *object;
855-
char *host = NULL, *persistent_id = NULL;
855+
char *host = NULL, *persistent_id = "";
856856
zend_long port = -1, retry_interval = 0;
857857
strlen_t host_len, persistent_id_len;
858858
double timeout = 0.0, read_timeout = 0.0;

0 commit comments

Comments
 (0)