X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fmemcached.cc;h=678c3cf18105a68f6ab64e71e85d88932ed52b05;hb=750f7447e014aab84e69e42b21feb1d996b2cf13;hp=81068aef0c4c33f4b0349a2bf833059656e53e5f;hpb=2dc9e4fe44119bae275257cc8d7253665fc2606b;p=m6w6%2Flibmemcached diff --git a/libtest/memcached.cc b/libtest/memcached.cc index 81068aef..678c3cf1 100644 --- a/libtest/memcached.cc +++ b/libtest/memcached.cc @@ -88,7 +88,8 @@ public: // Memcached is slow to start, so we need to do this if (pid_file().empty() == false) { - if (error_is_ok and not wait_for_pidfile()) + if (error_is_ok and + wait_for_pidfile() == false) { Error << "Pidfile was not found:" << pid_file(); return -1; @@ -236,9 +237,9 @@ public: pid_t get_pid(bool error_is_ok) { // Memcached is slow to start, so we need to do this - if (not pid_file().empty()) + if (pid_file().empty() == false) { - if (error_is_ok and not wait_for_pidfile()) + if (error_is_ok and wait_for_pidfile() == false) { Error << "Pidfile was not found:" << pid_file(); return -1; @@ -365,9 +366,10 @@ public: pid_t get_pid(bool error_is_ok) { // Memcached is slow to start, so we need to do this - if (not pid_file().empty()) + if (pid_file().empty() == false) { - if (error_is_ok and not wait_for_pidfile()) + if (error_is_ok and + wait_for_pidfile() == false) { Error << "Pidfile was not found:" << pid_file(); return -1;