Remove undefined macro injected in 3bdd5d0d

This commit is contained in:
Christophe Romain 2015-12-11 15:33:22 +01:00
parent 8ee5f9fb6f
commit e3005f68e7
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ start(Socket, SockMod, Shaper) ->
non_neg_integer() | infinity) -> undefined | pid().
start(Socket, SockMod, Shaper, MaxStanzaSize) ->
{ok, Pid} = ?GEN_SERVER:start(ejabberd_receiver,
[Socket, SockMod, Shaper, MaxStanzaSize], []),
{ok, Pid} = gen_server:start(ejabberd_receiver,
[Socket, SockMod, Shaper, MaxStanzaSize], []),
Pid.
-spec change_shaper(pid(), shaper:shaper()) -> ok.