mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "res_pjsip/pjsip_configuration: Disregard empty auth values"
This commit is contained in:
@@ -402,6 +402,10 @@ int ast_sip_auth_vector_init(struct ast_sip_auth_vector *auths, const char *valu
|
||||
}
|
||||
|
||||
while ((val = strsep(&auth_names, ","))) {
|
||||
if (ast_strlen_zero(val)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
val = ast_strdup(val);
|
||||
if (!val) {
|
||||
goto failure;
|
||||
|
Reference in New Issue
Block a user