projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Improvements on valgrind detection.
[m6w6/libmemcached]
/
libtest
/
memcached.cc
diff --git
a/libtest/memcached.cc
b/libtest/memcached.cc
index 81068aef0c4c33f4b0349a2bf833059656e53e5f..678c3cf18105a68f6ab64e71e85d88932ed52b05 100644
(file)
--- 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)
{
// 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;
{
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
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;
{
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
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;
{
Error << "Pidfile was not found:" << pid_file();
return -1;