Browse files

Actually, this is NOTCONNECTED_STATE, not UNKNOWN_STATE

  • Loading branch information...
1 parent dec5d44 commit b7cb84c37481c64880d9c98299c7c9cac93493c7 Gutza committed Oct 25, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 php_zookeeper.c
  2. +1 −1 zookeeper-api.php
View
2 php_zookeeper.c
@@ -1111,7 +1111,7 @@ static void php_zk_register_constants(INIT_FUNC_ARGS)
ZK_CLASS_CONST_LONG(CONNECTING_STATE);
ZK_CLASS_CONST_LONG(ASSOCIATING_STATE);
ZK_CLASS_CONST_LONG(CONNECTED_STATE);
- ZK_CLASS_CONST_LONG(UNKNOWN_STATE);
+ ZK_CLASS_CONST_LONG(NOTCONNECTED_STATE);
ZK_CLASS_CONST_LONG(CREATED_EVENT);
ZK_CLASS_CONST_LONG(DELETED_EVENT);
View
2 zookeeper-api.php
@@ -22,7 +22,7 @@ class Zookeeper {
const CONNECTING_STATE = 1;
const ASSOCIATING_STATE = 2;
const CONNECTED_STATE = 3;
- const UNKNOWN_STATE = 999;
+ const NOTCONNECTED_STATE = 999;
const CREATED_EVENT = 1;
const DELETED_EVENT = 2;

0 comments on commit b7cb84c

Please sign in to comment.