This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
Fix redis connect failed when there are "@" in redis password.
pull/1252/head
Clarence
5 years ago
parent
df5f810651
commit
320459873f
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
daemon/main.c
+ 1
- 1
daemon/main.c
View File
@ -334,7 +334,7 @@ static int redis_ep_parse(endpoint_t *ep, int *db, char **auth, const char *auth
char
*
sl
;
char
*
sl
;
long
l
;
long
l
;
sl
=
strchr
(
str
,
'
@
'
)
;
sl
=
str
r
chr
(
str
,
'
@
'
)
;
if
(
sl
)
{
if
(
sl
)
{
*
sl
=
0
;
*
sl
=
0
;
*
auth
=
g_strdup
(
str
)
;
*
auth
=
g_strdup
(
str
)
;
Write
Preview
Loading…
Cancel
Save