Commit 68a23b44 authored by Sylvain Berfini's avatar Sylvain Berfini

Fix find auth info algorithm for multiples registrations with same username

parent 263364ac
......@@ -298,7 +298,8 @@ const LinphoneAuthInfo *linphone_core_find_auth_info(LinphoneCore *lc, const cha
if (ai==NULL && domain){
ai=find_auth_info(lc,username,realm,domain);
}
} else if (domain != NULL) {
}
if (ai == NULL && domain != NULL) {
ai=find_auth_info(lc,username,NULL,domain);
}
if (ai==NULL){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment