keepalive resumed

This commit is contained in:
Ery Lee 2015-01-11 00:44:28 +08:00
parent efa1ecc5f4
commit b746e57cdb
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ handle_info({keepalive, timeout}, State = #state { keepalive = KeepAlive }) ->
lager:info("Client ~s: Keepalive Timeout!", [State#state.peer_name]), lager:info("Client ~s: Keepalive Timeout!", [State#state.peer_name]),
{stop, normal, State}; {stop, normal, State};
{resumed, KeepAlive1} -> {resumed, KeepAlive1} ->
lager:info("~s keepalive resumed.", [State#state.peer_name]), lager:info("Client ~s: Keepalive Resumed", [State#state.peer_name]),
{noreply, State#state{ keepalive = KeepAlive1 }} {noreply, State#state{ keepalive = KeepAlive1 }}
end; end;