Merge "res_pjsip/pjsip_configuration: Disregard empty auth values"

changes/39/1139/1
Joshua Colp 11 years ago committed by Gerrit Code Review
commit 3108820000

@ -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;

Loading…
Cancel
Save