From: Brian Aker Date: Thu, 7 Jul 2011 02:38:41 +0000 (-0700) Subject: Possible fix for Ubuntu X-Git-Tag: 0.51~1^2~9^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=b0ef8cb4b2a4056fc7df7c16aa6a170edb4dea34;p=awesomized%2Flibmemcached Possible fix for Ubuntu --- diff --git a/libtest/memcached.cc b/libtest/memcached.cc index c3f40fa8..2b49c608 100644 --- 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) { - Log; + Logn(); + if (getenv(((char *)"MEMCACHED_SERVERS"))) { construct->server_list= getenv(((char *)"MEMCACHED_SERVERS")); @@ -246,7 +247,7 @@ bool server_startup(server_startup_st *construct) construct->server_list= server_config_string; } - Log; + Logn(); srandom((unsigned int)time(NULL)); diff --git a/libtest/stream.h b/libtest/stream.h index 3ad71b1f..558b2790 100644 --- a/libtest/stream.h +++ b/libtest/stream.h @@ -97,14 +97,15 @@ template