Format code

This commit is contained in:
turtled 2017-05-19 10:24:36 +08:00
parent 96562dfc59
commit 94402f4297
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ user_passwd(BasicAuth) ->
list_to_tuple(binary:split(base64:decode(BasicAuth), <<":">>)).
int(I) when is_integer(I)-> I;
int(B) when is_binary(B)-> binary_to_integer(B);
int(S) -> list_to_integer(S).
bool(0) -> false;