Use p1_server behaviour in xmpp_stream layer

This commit is contained in:
Evgeniy Khramtsov 2017-02-08 17:16:18 +03:00
parent ca0dd09944
commit 67c9de6461
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
%%%
%%%-------------------------------------------------------------------
-module(xmpp_stream_in).
-define(GEN_SERVER, gen_server).
-define(GEN_SERVER, p1_server).
-behaviour(?GEN_SERVER).
-protocol({rfc, 6120}).

View File

@ -20,7 +20,7 @@
%%%
%%%-------------------------------------------------------------------
-module(xmpp_stream_out).
-define(GEN_SERVER, gen_server).
-define(GEN_SERVER, p1_server).
-behaviour(?GEN_SERVER).
-protocol({rfc, 6120}).