gen_fsm:reply returns wrong value

Aleksander Nycz <[email protected]> Tue, 18 Aug 2015 09:26:31 +0200
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
Hello,

Manual claims that gen_fsm:reply returns value 'true':

http://www.erlang.org/doc/man/gen_fsm.html#reply-2

reply(Caller, Reply) -> true

but code shows that different value is returned:

%% Send a reply to the client. reply({To,Tag},Reply) ->
     catch To ! {Tag,Reply}.


Regards
Aleksander Nycz


-- 
Aleksander Nycz
Chief Designer
Telco_021 BSS R&D
Comarch SA
Phone:  +48 17 785 5909
Mobile: +48 691 464 275
website: www.comarch.pl

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
smime.p7s (application/pkcs7-signature, 4.8 KB) - not displayed