CLEANUP: checks: rename some server check flags
Some server check flag names were not properly choosen and cause
analysis trouble, especially the CHK_RUNNING one which does not
mean that a check is running but that the server is running...
Here's the rename :
CHK_RUNNING -> CHK_PASSED
CHK_ERROR -> CHK_FAILED
diff --git a/include/types/server.h b/include/types/server.h
index 4806ffa..87ca0be 100644
--- a/include/types/server.h
+++ b/include/types/server.h
@@ -70,8 +70,8 @@
/* bits for s->result used for health-checks */
#define SRV_CHK_UNKNOWN 0x0000 /* initialized to this by default */
-#define SRV_CHK_ERROR 0x0001 /* error encountered during the check; has precedence */
-#define SRV_CHK_RUNNING 0x0002 /* server seen as running */
+#define SRV_CHK_FAILED 0x0001 /* server check failed, flag has precedence over SRV_CHK_PASSED */
+#define SRV_CHK_PASSED 0x0002 /* server check succeeded unless FAILED is also set */
#define SRV_CHK_DISABLE 0x0004 /* server returned a "disable" code */
/* various constants */