Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #7 from RJ/patch-1

Fix return value of egeoip:code_change
  • Loading branch information...
commit 3874d2ebf08e536d5be6399790e0db7646752fd8 2 parents 45c32ad + 8c38229
Dmitry Demeshchuk authored July 12, 2012

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

  1. 4  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 notes on commit 3874d2e

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