mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix some error
This commit is contained in:
parent
565f83f13d
commit
43b61677f3
3 changed files with 2 additions and 4 deletions
|
|
@ -352,7 +352,7 @@ LinphoneAccountCreatorStatus linphone_account_creator_set_password(LinphoneAccou
|
|||
int max_length = lp_config_get_int(creator->core->config, "assistant", "password_max_length", -1);
|
||||
if (!password) {
|
||||
creator->password = NULL;
|
||||
return LinphoneAccountCreatorOK;
|
||||
return LinphoneAccountCreatorPasswordTooShort;
|
||||
}
|
||||
if (min_length > 0 && strlen(password) < (size_t)min_length) {
|
||||
return LinphoneAccountCreatorPasswordTooShort;
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ public interface LinphoneAccountCreator {
|
|||
public final static Status DisplayNameInvalid = new Status(27, "DisplayNameInvalid");
|
||||
public final static Status TransportNotSupported = new Status(28, "TransportNotSupported");
|
||||
public final static Status CountryCodeInvalid = new Status(29, "CountryCodeInvalid");
|
||||
public final static Status ErrorServeur = new Status(30, "ErrorServer");
|
||||
public final static Status ErrorServer = new Status(30, "ErrorServer");
|
||||
|
||||
private Status(int value, String stringValue) {
|
||||
mValue = value;
|
||||
|
|
|
|||
|
|
@ -18,8 +18,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
*/
|
||||
package org.linphone.core;
|
||||
|
||||
import org.linphone.LinphoneNumberOrAddress;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue