Feng 10 лет назад
Родитель
Сommit
64a34b216c

+ 0 - 1
src/emqttd.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_acl_internal.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_acl_internal).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_alarm.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_alarm).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_bridge.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_bridge).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_bridge_sup.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_bridge_sup).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_cli.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_cli).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_ctl.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_ctl).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_dist.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_dist).
 
 -import(lists, [concat/1]).

+ 0 - 1
src/emqttd_guid.erl

@@ -35,7 +35,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_guid).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_http.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_http).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_keepalive.erl

@@ -23,7 +23,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_keepalive).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_metrics.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_metrics).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_mnesia.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_mnesia).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_mod_autosub.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_mod_autosub).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_mod_presence.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_mod_presence).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_mod_rewrite.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_mod_rewrite).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_mod_sup.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_mod_sup).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_mqueue.erl

@@ -47,7 +47,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_mqueue).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_opts.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_opts).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_packet.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_packet).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_plugins.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_plugins).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_pooler_sup.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_pooler_sup).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_pubsub_sup.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_pubsub_sup).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 2 - 2
src/emqttd_retained.erl

@@ -21,11 +21,11 @@
 %%%-----------------------------------------------------------------------------
 %%% @doc
 %%% MQTT retained message storage.
+%%%
+%%% TODO: should match topic tree
 %%% 
 %%% @end
 %%%-----------------------------------------------------------------------------
-
-%% TODO: should match topic tree
 -module(emqttd_retained).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_serialiser.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_serialiser).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_sm_helper.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_sm_helper).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_sm_sup.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_sm_sup).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_stats.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_stats).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_sup.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_sup).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_sysmon.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_sysmon).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_topic.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_topic).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 0 - 1
src/emqttd_trace.erl

@@ -24,7 +24,6 @@
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_trace).
 
 -author("Feng Lee <feng@emqtt.io>").

+ 20 - 21
src/emqttd_vm.erl

@@ -1,30 +1,29 @@
-%%------------------------------------------------------------------------------
+%%%-----------------------------------------------------------------------------
 %%% Copyright (c) 2012-2015 eMQTT.IO, All Rights Reserved.
-%% 
-%% Permission is hereby granted, free of charge, to any person obtaining a copy
-%% of this software and associated documentation files (the "Software"), to deal
-%% in the Software without restriction, including without limitation the rights
-%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-%% copies of the Software, and to permit persons to whom the Software is
-%% furnished to do so, subject to the following conditions:
-%% 
-%% The above copyright notice and this permission notice shall be included in all
-%% copies or substantial portions of the Software.
-%% 
-%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-%% SOFTWARE.
-%%------------------------------------------------------------------------------
+%%%
+%%% Permission is hereby granted, free of charge, to any person obtaining a copy
+%%% of this software and associated documentation files (the "Software"), to deal
+%%% in the Software without restriction, including without limitation the rights
+%%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+%%% copies of the Software, and to permit persons to whom the Software is
+%%% furnished to do so, subject to the following conditions:
+%%%
+%%% The above copyright notice and this permission notice shall be included in all
+%%% copies or substantial portions of the Software.
+%%%
+%%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+%%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+%%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+%%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+%%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+%%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+%%% SOFTWARE.
+%%%-----------------------------------------------------------------------------
 %%% @doc
 %%% emqttd erlang vm.
 %%%
 %%% @end
 %%%-----------------------------------------------------------------------------
-
 -module(emqttd_vm).
 
 -author('huangdan').