瀏覽代碼

Remove the io:format line

Feng Lee 9 年之前
父節點
當前提交
dae3d22bef
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/emqttd_sm.erl

+ 1 - 1
src/emqttd_sm.erl

@@ -107,7 +107,7 @@ dispatch(ClientId, Topic, Msg) ->
     try ets:lookup_element(mqtt_local_session, ClientId, 2) of
         Pid -> Pid ! {dispatch, Topic, Msg}
     catch
-        error:badarg -> io:format("Session Not Found: ~p~n", [ClientId]), ok %%TODO: How??
+        error:badarg -> ok %%FIXME Later.
     end.
 
 call(SM, Req) ->