Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix return value of egeoip:code_change

  • Loading branch information...
commit 8c38229a6168b24b170c4096a6a7ff5952e9bdb1 1 parent 45c32ad
@RJ RJ authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/egeoip.erl
View
4 src/egeoip.erl
@@ -206,10 +206,10 @@ handle_cast(What, State) ->
terminate(_Reason, _State) ->
ok.
-%% @spec code_change(OldVsn, State, Extra) -> NewState
+%% @spec code_change(OldVsn, State, Extra) -> {ok, NewState}
%% @doc gen_server callback.
code_change(_OldVsn, State, _Extra) ->
- State.
+ {ok, State}.
%% @spec handle_info(Info, State) -> {noreply, State}
%% @doc gen_server callback.
Please sign in to comment.
Something went wrong with that request. Please try again.