projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
fff9028
)
fix for pid == -1
author
Michael Wallner
<mike@php.net>
Tue, 29 Sep 2020 06:34:32 +0000
(08:34 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 29 Sep 2020 06:34:32 +0000
(08:34 +0200)
test/lib/Server.cpp
patch
|
blob
|
history
diff --git
a/test/lib/Server.cpp
b/test/lib/Server.cpp
index f31819e86ef8dfbc3fa99d9ded1335b34945d55c..0c99009bde95b910c81ce97ae24a985fc1acbaca 100644
(file)
--- a/
test/lib/Server.cpp
+++ b/
test/lib/Server.cpp
@@
-130,7
+130,7
@@
bool Server::isListening() {
}
Malloced stat(memcached_stat(*memc, nullptr, nullptr));
- if (!*stat || !stat->pid) {
+ if (!*stat || !stat->pid
|| stat->pid == -1
) {
return false;
}
if (stat->pid != pid) {