Skip to content
Snippets Groups Projects
Commit cff02412 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Terminate message doesn't have a trailing zero byte.

parent e77aaade
Branches
Tags
No related merge requests found
......@@ -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
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment