24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-18 22:15:20 +02:00

! may raise exceptions on invalid proc

This commit is contained in:
Frank Diebolt 2019-01-31 17:44:11 +01:00
parent 7df03ef56f
commit 9b66894dda

View File

@ -173,4 +173,4 @@ calc_checksum(Data) ->
callback(undefined, IQRes, Fun) -> callback(undefined, IQRes, Fun) ->
Fun(IQRes); Fun(IQRes);
callback(Proc, IQRes, Ctx) -> callback(Proc, IQRes, Ctx) ->
Proc ! {iq_reply, IQRes, Ctx}. catch Proc ! {iq_reply, IQRes, Ctx}.