Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

Commit

Permalink
trying to solve #13 - maybe only with a start_link it should be enoug…
Browse files Browse the repository at this point in the history
…h...
  • Loading branch information
manuel-rubio committed Dec 5, 2016
1 parent 5ab4678 commit cc0c62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecomponent_con_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ make_connection(JID, Pass, Server, Port, 0) ->
make_connection(JID, Pass, Server, Port);
make_connection(JID, Pass, Server, Port, Tries) ->
lager:info("Connecting: ~p Tries Left~n",[Tries]),
XmppCom = exmpp_component:start(),
XmppCom = exmpp_component:start_link(),
try setup_exmpp_component(XmppCom, JID, Pass, Server, Port) of
R ->
lager:info("Connected.~n",[]),
Expand Down

0 comments on commit cc0c62f

Please sign in to comment.