[erlang-bugs] gen_fsm:reply returns wrong value

Aleksander Nycz Aleksander.Nycz@REDACTED
Tue Aug 18 09:26:31 CEST 2015


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150818/f5a32205/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4936 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150818/f5a32205/attachment.bin>


More information about the erlang-bugs mailing list