Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix return value of egeoip:code_change

  • Loading branch information...
commit 8c38229a6168b24b170c4096a6a7ff5952e9bdb1 1 parent 45c32ad
Richard Jones RJ authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 src/egeoip.erl
4 src/egeoip.erl
@@ -206,10 +206,10 @@ handle_cast(What, State) ->
206 206 terminate(_Reason, _State) ->
207 207 ok.
208 208
209   -%% @spec code_change(OldVsn, State, Extra) -> NewState
  209 +%% @spec code_change(OldVsn, State, Extra) -> {ok, NewState}
210 210 %% @doc gen_server callback.
211 211 code_change(_OldVsn, State, _Extra) ->
212   - State.
  212 + {ok, State}.
213 213
214 214 %% @spec handle_info(Info, State) -> {noreply, State}
215 215 %% @doc gen_server callback.

0 comments on commit 8c38229

Please sign in to comment.
Something went wrong with that request. Please try again.