From: David Reiss Date: Sun, 5 Apr 2009 06:19:51 +0000 (+0000) Subject: Flush output at the end of thrift_dump X-Git-Tag: 0.2.0~160 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=65043d6fbdbe9bb8a101e440d59567acefd7a70c;p=common%2Fthrift.git 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 --- 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;