Commit cff02412 authored by Peter Eisentraut's avatar Peter Eisentraut

Terminate message doesn't have a trailing zero byte.

parent e77aaade
......@@ -383,7 +383,7 @@ public class PG_Stream
*/
public void close() throws IOException
{
pg_output.write("X\0".getBytes());
pg_output.write("X".getBytes());
pg_output.flush();
pg_output.close();
pg_input.close();
......@@ -391,4 +391,3 @@ public class PG_Stream
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment