Anton Lebedevich 13 лет назад
Родитель
Сommit
7e47b86018
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/pgsql_sock.erl

+ 1 - 1
src/pgsql_sock.erl

@@ -106,7 +106,7 @@ handle_call(Command, From, State) ->
     Req = {{call, From}, Command},
     command(Command, State#state{queue = queue:in(Req, Q)}).
 
-handle_cast(Req = {{From, Ref}, Command}, State) ->
+handle_cast({{From, Ref}, Command}, State) ->
     #state{queue = Q} = State,
     Req = {{cast, From, Ref}, Command},
     command(Command, State#state{queue = queue:in(Req, Q)});