From b0ef8cb4b2a4056fc7df7c16aa6a170edb4dea34 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Wed, 6 Jul 2011 19:38:41 -0700 Subject: [PATCH] Possible fix for Ubuntu --- libtest/memcached.cc | 5 +++-- libtest/stream.h | 35 +++++++++++++++++++++-------------- libtest/test.cc | 5 ++--- 3 files changed, 26 insertions(+), 19 deletions(-) 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