projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Extend test.
[awesomized/libmemcached]
/
libtest
/
memcached.cc
diff --git
a/libtest/memcached.cc
b/libtest/memcached.cc
index c3f40fa8f8f1e03bee20713ec657ea24ec1688ad..61c3209fc166993076ab10ecec2f7e1dc1376cc6 100644
(file)
--- a/
libtest/memcached.cc
+++ b/
libtest/memcached.cc
@@
-111,7
+111,8
@@
static bool cycle_server(server_st *server)
bool server_startup(server_startup_st *construct)
{
bool server_startup(server_startup_st *construct)
{
- Log;
+ Logn();
+
if (getenv(((char *)"MEMCACHED_SERVERS")))
{
construct->server_list= getenv(((char *)"MEMCACHED_SERVERS"));
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;
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;
{
server_st *server= NULL;
@@
-246,7
+247,7
@@
bool server_startup(server_startup_st *construct)
construct->server_list= server_config_string;
}
construct->server_list= server_config_string;
}
- Log;
+ Log
n()
;
srandom((unsigned int)time(NULL));
srandom((unsigned int)time(NULL));