zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1212193 - in /zookeeper/branches/branch-3.4: CHANGES.txt src/c/src/zookeeper.c
Date Fri, 09 Dec 2011 00:21:27 GMT
Author: mahadev
Date: Fri Dec  9 00:21:27 2011
New Revision: 1212193

URL: http://svn.apache.org/viewvc?rev=1212193&view=rev
Log:
ZOOKEEPER-1315. zookeeper_init always reports sessionPasswd=<hidden>. (Akira Kitada
via mahadev)

Modified:
    zookeeper/branches/branch-3.4/CHANGES.txt
    zookeeper/branches/branch-3.4/src/c/src/zookeeper.c

Modified: zookeeper/branches/branch-3.4/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.4/CHANGES.txt?rev=1212193&r1=1212192&r2=1212193&view=diff
==============================================================================
--- zookeeper/branches/branch-3.4/CHANGES.txt (original)
+++ zookeeper/branches/branch-3.4/CHANGES.txt Fri Dec  9 00:21:27 2011
@@ -12,6 +12,9 @@ BUGFIXES: 
   ZOOKEEPER-1316. zookeeper_init leaks memory if chroot is just '/'.
   (Akira Kitada via mahadev)
 
+  ZOOKEEPER-1315. zookeeper_init always reports sessionPasswd=<hidden>.
+  (Akira Kitada via mahadev)
+
 Release 3.4.0 - 2011-10-25
 
 Non-backward compatible changes:

Modified: zookeeper/branches/branch-3.4/src/c/src/zookeeper.c
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.4/src/c/src/zookeeper.c?rev=1212193&r1=1212192&r2=1212193&view=diff
==============================================================================
--- zookeeper/branches/branch-3.4/src/c/src/zookeeper.c (original)
+++ zookeeper/branches/branch-3.4/src/c/src/zookeeper.c Fri Dec  9 00:21:27 2011
@@ -774,7 +774,7 @@ zhandle_t *zookeeper_init(const char *ho
               recv_timeout,
               watcher,
               (clientid == 0 ? 0 : clientid->client_id),
-              ((clientid == 0) || (clientid->passwd == 0) ?
+              ((clientid == 0) || (clientid->passwd[0] == 0) ?
                "<null>" : "<hidden>"),
               context,
               flags));



Mime
View raw message