projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Merge up clang fixes.
[m6w6/libmemcached]
/
libtest
/
wait.h
diff --git
a/libtest/wait.h
b/libtest/wait.h
index d72a897bac938efa04af39c9f4ea23ac9be6d910..391afa4979fe9b897daa35d81ed8478012fff2fc 100644
(file)
--- a/
libtest/wait.h
+++ b/
libtest/wait.h
@@
-38,6
+38,12
@@
public:
uint32_t this_wait;
uint32_t retry;
+ if (filename.empty())
+ {
+ _successful= false;
+ return;
+ }
+
for (waited= 0, retry= 1; ; retry++, waited+= this_wait)
{
if (access(filename.c_str(), R_OK) == 0)