summaryrefslogtreecommitdiff
path: root/client/examples/httpClientTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/examples/httpClientTest.cpp')
-rw-r--r--client/examples/httpClientTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/examples/httpClientTest.cpp b/client/examples/httpClientTest.cpp
index 5d6c429..4fa5fd8 100644
--- a/client/examples/httpClientTest.cpp
+++ b/client/examples/httpClientTest.cpp
@@ -23,7 +23,7 @@
using namespace mongo;
int main( int argc, const char **argv ) {
-
+
int port = 27017;
if ( argc != 1 ) {
if ( argc != 3 )
@@ -31,13 +31,13 @@ int main( int argc, const char **argv ) {
port = atoi( argv[ 2 ] );
}
port += 1000;
-
+
stringstream ss;
ss << "http://localhost:" << port << "/";
string url = ss.str();
-
+
cout << "[" << url << "]" << endl;
HttpClient c;
- assert( c.get( url ) == 200 );
+ MONGO_assert( c.get( url ) == 200 );
}