Extend test.
[awesomized/libmemcached] / libtest / memcached.cc
index c3f40fa8f8f1e03bee20713ec657ea24ec1688ad..61c3209fc166993076ab10ecec2f7e1dc1376cc6 100644 (file)
@@ -111,7 +111,8 @@ static bool cycle_server(server_st  *server)
 
 bool server_startup(server_startup_st *construct)
 {
-  Log;
+  Logn();
+
   if (getenv(((char *)"MEMCACHED_SERVERS")))
   {
     construct->server_list= getenv(((char *)"MEMCACHED_SERVERS"));
@@ -123,7 +124,7 @@ bool server_startup(server_startup_st *construct)
     std::string server_config_string;
 
     uint32_t port_base= 0;
-    for (uint32_t x= 0; x < (construct->count -1); x++)
+    for (uint32_t x= 0; x < uint32_t(construct->count -1); x++)
     {
       server_st *server= NULL;
 
@@ -246,7 +247,7 @@ bool server_startup(server_startup_st *construct)
     construct->server_list= server_config_string;
   }
 
-  Log;
+  Logn();
 
   srandom((unsigned int)time(NULL));