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 e034797..0ddfcec 100644
--- a/contrib/thrift_dump.cpp
+++ b/contrib/thrift_dump.cpp
@@ -82,6 +82,7 @@
   } catch (TProtocolException exn) {
     cout << "Protocol Exception: " << exn.what() << endl;
   } catch (...) {
+    oprot->getTransport()->flush();
   }
 
   cout << endl;