Merge "res_pjsip/pjsip_configuration: Disregard empty auth values" into 13

changes/37/1137/1
Joshua Colp 11 years ago committed by Gerrit Code Review
commit 5f781cb799

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