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
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@985772 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/cpp/src/main.cpp b/test/cpp/src/main.cpp
index 46ee950..2aad4d6 100644
--- a/test/cpp/src/main.cpp
+++ b/test/cpp/src/main.cpp
@@ -427,7 +427,7 @@
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));