From 65043d6fbdbe9bb8a101e440d59567acefd7a70c Mon Sep 17 00:00:00 2001 From: David Reiss Date: Sun, 5 Apr 2009 06:19:51 +0000 Subject: [PATCH] Flush output at the end of thrift_dump git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@762043 13f79535-47bb-0310-9956-ffa450edef68 --- contrib/thrift_dump.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/thrift_dump.cpp b/contrib/thrift_dump.cpp index e0347972..0ddfcec3 100644 --- a/contrib/thrift_dump.cpp +++ b/contrib/thrift_dump.cpp @@ -82,6 +82,7 @@ int main(int argc, char *argv[]) { } catch (TProtocolException exn) { cout << "Protocol Exception: " << exn.what() << endl; } catch (...) { + oprot->getTransport()->flush(); } cout << endl; -- 2.17.1