You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2011/12/08 14:20:12 UTC
svn commit: r1211868 - /thrift/trunk/test/cpp/src/TestClient.cpp
Author: roger
Date: Thu Dec 8 13:20:12 2011
New Revision: 1211868
URL: http://svn.apache.org/viewvc?rev=1211868&view=rev
Log:
return 1 if transport open fails
Modified:
thrift/trunk/test/cpp/src/TestClient.cpp
Modified: thrift/trunk/test/cpp/src/TestClient.cpp
URL: http://svn.apache.org/viewvc/thrift/trunk/test/cpp/src/TestClient.cpp?rev=1211868&r1=1211867&r2=1211868&view=diff
==============================================================================
--- thrift/trunk/test/cpp/src/TestClient.cpp (original)
+++ thrift/trunk/test/cpp/src/TestClient.cpp Thu Dec 8 13:20:12 2011
@@ -229,7 +229,7 @@ int main(int argc, char** argv) {
transport->open();
} catch (TTransportException& ttx) {
printf("Connect failed: %s\n", ttx.what());
- continue;
+ return 1;
}
/**