]> granicus.if.org Git - postgresql/commitdiff
Terminate message doesn't have a trailing zero byte.
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 6 Jul 2001 18:01:22 +0000 (18:01 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 6 Jul 2001 18:01:22 +0000 (18:01 +0000)
src/interfaces/jdbc/org/postgresql/PG_Stream.java

index fb97d3a24b6a6f00f1d7e4ad9899d8f283ffe3b8..44d84a8e5a38b3074b9ba030748dc8a9d116d69c 100644 (file)
@@ -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
   }
 
 }
-