Browse Source

int32 startup message

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

+ 1 - 1
src/pgsql_sock.erl

@@ -52,7 +52,7 @@ init([C, Host, Username, Opts]) ->
     end,
 
     setopts(State2, [{active, true}]),
-    send([<<196608:32>>, Opts3, 0], State2),
+    send([<<196608:?int32>>, Opts3, 0], State2),
     {ok, State2}.
 
 handle_call(Call, _From, State) ->