Browse Source

switch state handler

Anton Lebedevich 13 years ago
parent
commit
c4642f25a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pgsql_sock.erl

+ 1 - 1
src/pgsql_sock.erl

@@ -152,7 +152,7 @@ reply(#state{queue = Q} = State, Message) ->
 auth({$R, <<0:?int32>>}, State) ->
     #state{timeout = Timeout} = State,
     {noreply,
-     State#state{handler = fun initializing/2},
+     State#state{handler = initializing},
      Timeout};
 
 %% AuthenticationCleartextPassword