Fix the badmatch error

This commit is contained in:
Feng Lee 2019-08-08 22:33:40 +08:00
parent bd061415c9
commit f70da696f0
1 changed files with 3 additions and 3 deletions

View File

@ -314,10 +314,10 @@ handle_out({connack, ?RC_SUCCESS, SP},
ok = emqx_hooks:run('client.connected', [Client, ?RC_SUCCESS, attrs(PState)]), ok = emqx_hooks:run('client.connected', [Client, ?RC_SUCCESS, attrs(PState)]),
#{max_packet_size := MaxPktSize, #{max_packet_size := MaxPktSize,
max_qos_allowed := MaxQoS, max_qos_allowed := MaxQoS,
mqtt_retain_available := Retain, retain_available := Retain,
max_topic_alias := MaxAlias, max_topic_alias := MaxAlias,
mqtt_shared_subscription := Shared, shared_subscription := Shared,
mqtt_wildcard_subscription := Wildcard wildcard_subscription := Wildcard
} = caps(PState), } = caps(PState),
%% Response-Information is so far not set by broker. %% Response-Information is so far not set by broker.
%% i.e. It's a Client-to-Client contract for the request-response topic naming scheme. %% i.e. It's a Client-to-Client contract for the request-response topic naming scheme.