fix issue #374
This commit is contained in:
parent
21a5f3ee33
commit
e25856e9a1
|
@ -174,7 +174,7 @@ destroy(SessPid, ClientId) ->
|
||||||
%%------------------------------------------------------------------------------
|
%%------------------------------------------------------------------------------
|
||||||
-spec subscribe(pid(), [{binary(), mqtt_qos()}]) -> ok.
|
-spec subscribe(pid(), [{binary(), mqtt_qos()}]) -> ok.
|
||||||
subscribe(SessPid, TopicTable) ->
|
subscribe(SessPid, TopicTable) ->
|
||||||
subscribe(SessPid, TopicTable, fun(_) -> ok end).
|
gen_server2:cast(SessPid, {subscribe, TopicTable, fun(_) -> ok end}).
|
||||||
|
|
||||||
-spec subscribe(pid(), mqtt_packet_id(), [{binary(), mqtt_qos()}]) -> ok.
|
-spec subscribe(pid(), mqtt_packet_id(), [{binary(), mqtt_qos()}]) -> ok.
|
||||||
subscribe(SessPid, PacketId, TopicTable) ->
|
subscribe(SessPid, PacketId, TopicTable) ->
|
||||||
|
|
Loading…
Reference in New Issue