From e2894b2ffd79502b4acc29caed138e2bc0b33738 Mon Sep 17 00:00:00 2001 From: dsandersoremutah Date: Wed, 21 Feb 2007 19:24:11 +0000 Subject: [PATCH] In the exportXML method that returns a string, needed to call closeStream so that a null character will be appended to the string. Otherwise, there will be garbage at the end of the string. git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@1038 0109f412-320b-0410-ab79-c3e0c5ffbbe6 --- xflaim/java/jni/jdb.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xflaim/java/jni/jdb.cpp b/xflaim/java/jni/jdb.cpp index 0c47b19..5eaca78 100644 --- a/xflaim/java/jni/jdb.cpp +++ b/xflaim/java/jni/jdb.cpp @@ -2999,6 +2999,7 @@ JNIEXPORT jstring JNICALL Java_xflaim_Db__1exportXML__JJI( ThrowError( rc, pEnv); goto Exit; } + dynaOStream.closeStream(); // Create a string and return it.