summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-07-06 18:01:22 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-07-06 18:01:22 +0000
commitcff024120ab8e7f5f4f6f96d5f40b6011beebec6 (patch)
treef5fa92fdd07eaea6ee7374280cd9545e747a99c7 /src
parente77aaade349e3947a55c41f07eb80c4f5260ada4 (diff)
Terminate message doesn't have a trailing zero byte.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/jdbc/org/postgresql/PG_Stream.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/PG_Stream.java b/src/interfaces/jdbc/org/postgresql/PG_Stream.java
index fb97d3a24b6..44d84a8e5a3 100644
--- a/src/interfaces/jdbc/org/postgresql/PG_Stream.java
+++ b/src/interfaces/jdbc/org/postgresql/PG_Stream.java
@@ -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
}
}
-