zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1212192 - in /zookeeper/trunk: CHANGES.txt src/c/src/zookeeper.c
Date Fri, 09 Dec 2011 00:20:07 GMT
Author: mahadev
Date: Fri Dec  9 00:20:07 2011
New Revision: 1212192

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

Modified:
    zookeeper/trunk/CHANGES.txt
    zookeeper/trunk/src/c/src/zookeeper.c

Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1212192&r1=1212191&r2=1212192&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Fri Dec  9 00:20:07 2011
@@ -68,6 +68,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)
  
 IMPROVEMENTS:
 

Modified: zookeeper/trunk/src/c/src/zookeeper.c
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/c/src/zookeeper.c?rev=1212192&r1=1212191&r2=1212192&view=diff
==============================================================================
--- zookeeper/trunk/src/c/src/zookeeper.c (original)
+++ zookeeper/trunk/src/c/src/zookeeper.c Fri Dec  9 00:20:07 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