Fix compile warning

This commit is contained in:
turtled 2017-08-16 12:10:46 +08:00
parent 83a42a717d
commit d50ce9f6c0
1 changed files with 0 additions and 1 deletions

View File

@ -86,7 +86,6 @@ register_protocol_config() ->
protocol_config_callback([_AppStr, KeyStr], Value) ->
protocol_config_callback(protocol, l2a(KeyStr), Value).
protocol_config_callback(App, websocket_protocol_header, Value) ->
{ok, Env} = emqttd:env(App),
application:set_env(?APP, websocket_protocol_header, Value),
" successfully\n";
protocol_config_callback(App, Key, Value) ->