This commit is contained in:
Feng 2015-11-07 23:09:31 +08:00
parent 21a5f3ee33
commit e25856e9a1
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ destroy(SessPid, ClientId) ->
%%------------------------------------------------------------------------------
-spec subscribe(pid(), [{binary(), mqtt_qos()}]) -> ok.
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.
subscribe(SessPid, PacketId, TopicTable) ->