git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1334548 13f79535-47bb-0310-9956-ffa450edef68
@@ -175,6 +175,9 @@ BUGFIXES:
ZOOKEEPER-1339. C client doesn't build with --enable-debug
(Eric Liang via michim)
+ ZOOKEEPER-1048. addauth command does not work in cli_mt/cli_st
+ (allengao via michim)
+
IMPROVEMENTS:
ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,
@@ -469,7 +469,7 @@ void processline(char *line) {
*ptr = '\0';
ptr++;
}
- zoo_add_auth(zh, line, ptr, ptr ? strlen(ptr)-1 : 0, NULL, NULL);
+ zoo_add_auth(zh, line, ptr, ptr ? strlen(ptr) : 0, NULL, NULL);