Fix module name

This commit is contained in:
Craig Everett 2019-12-21 20:05:44 +09:00
parent 98d8f5392d
commit 51dda1fbf1

View File

@ -567,7 +567,7 @@ zsp_path(PackageID = {Realm, _, _}) ->
-spec print_user({zx:user_name(), zx:real_name(), [zx:contact_info()]}) -> ok. -spec print_user({zx:user_name(), zx:real_name(), [zx:contact_info()]}) -> ok.
print_user({UserName, RealName, ContactInfo}) -> print_user({UserName, RealName, ContactInfo}) ->
case proplist:get_value("email", ContactInfo, none) of case proplists:get_value("email", ContactInfo, none) of
none -> io:format("~ts (~ts)~n", [UserName, RealName]); none -> io:format("~ts (~ts)~n", [UserName, RealName]);
Email -> io:format("~ts (~ts) <~ts>~n", [UserName, RealName, Email]) Email -> io:format("~ts (~ts) <~ts>~n", [UserName, RealName, Email])
end. end.