summaryrefslogtreecommitdiffstats
path: root/ahl-binding/ahl-binding.h
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-11-05 13:01:07 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-11-05 13:01:07 +0100
commit2e2cf0b8f97c8a72255ab0b977f94bd6c684b203 (patch)
tree79300297cb13c7be472663841be1ffd9e8177e04 /ahl-binding/ahl-binding.h
parent68f1187061c28ecf6439b4dd465f4d256529dc55 (diff)
Added few protection again invalid config
Diffstat (limited to 'ahl-binding/ahl-binding.h')
-rw-r--r--ahl-binding/ahl-binding.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ahl-binding/ahl-binding.h b/ahl-binding/ahl-binding.h
index 405144d..161c07b 100644
--- a/ahl-binding/ahl-binding.h
+++ b/ahl-binding/ahl-binding.h
@@ -31,7 +31,8 @@
#endif
#define AHL_SUCCESS 0
-#define AHL_FAIL 1
+#define AHL_WARNING 1
+#define AHL_FAIL -1
#define AHL_ACCESS_CONTROL_GRANTED 1
#define AHL_ACCESS_CONTROL_DENIED 0