Permalink
Browse files

Fix return value of egeoip:code_change

  • Loading branch information...
1 parent 45c32ad commit 8c38229a6168b24b170c4096a6a7ff5952e9bdb1 @RJ committed Jul 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/egeoip.erl
View
@@ -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.

0 comments on commit 8c38229

Please sign in to comment.