Browse Source

erlang:port_command/2 can't return false

Anton Lebedevich 13 years ago
parent
commit
26c9817041
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/pgsql_sock.erl

+ 0 - 2
src/pgsql_sock.erl

@@ -236,8 +236,6 @@ send(#state{mod = Mod, sock = Sock}, Type, Data) ->
 
 
 do_send(gen_tcp, Sock, Bin) ->
 do_send(gen_tcp, Sock, Bin) ->
     try erlang:port_command(Sock, Bin) of
     try erlang:port_command(Sock, Bin) of
-        false ->
-            {error,busy};
         true ->
         true ->
             ok
             ok
     catch
     catch