You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by br...@apache.org on 2010/08/16 01:04:12 UTC

svn commit: r985772 - /incubator/thrift/trunk/test/cpp/src/main.cpp

Author: bryanduxbury
Date: Sun Aug 15 23:04:12 2010
New Revision: 985772

URL: http://svn.apache.org/viewvc?rev=985772&view=rev
Log:
THRIFT-456. cpp: Bad IP address string in test/cpp/src/main.cpp

This patch fixes a clear typo in main.cpp.

Patch: Rush Manbert

Modified:
    incubator/thrift/trunk/test/cpp/src/main.cpp

Modified: incubator/thrift/trunk/test/cpp/src/main.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/test/cpp/src/main.cpp?rev=985772&r1=985771&r2=985772&view=diff
==============================================================================
--- incubator/thrift/trunk/test/cpp/src/main.cpp (original)
+++ incubator/thrift/trunk/test/cpp/src/main.cpp Sun Aug 15 23:04:12 2010
@@ -427,7 +427,7 @@ int main(int argc, char **argv) {
 
     for (size_t ix = 0; ix < clientCount; ix++) {
 
-      shared_ptr<TSocket> socket(new TSocket("127.0.01", port));
+      shared_ptr<TSocket> socket(new TSocket("127.0.0.1", port));
       shared_ptr<TBufferedTransport> bufferedSocket(new TBufferedTransport(socket, 2048));
       shared_ptr<TProtocol> protocol(new TBinaryProtocol(bufferedSocket));
       shared_ptr<ServiceClient> serviceClient(new ServiceClient(protocol));