[Slashdotjp-dev 742] [254] Fix: does not apply when ldap_debug_level is 0

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2007年 11月 9日 (金) 19:15:48 JST


Revision: 254
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=254
Author:   tach
Date:     2007-11-09 19:15:48 +0900 (Fri, 09 Nov 2007)

Log Message:
-----------
Fix: does not apply when ldap_debug_level is 0

Modified Paths:
--------------
    slashjp/trunk/Slash/LDAPDB/lib/Slash/LDAPDB.pm
    slashjp/trunk/debian/changelog


-------------- next part --------------
Modified: slashjp/trunk/Slash/LDAPDB/lib/Slash/LDAPDB.pm
===================================================================
--- slashjp/trunk/Slash/LDAPDB/lib/Slash/LDAPDB.pm	2007-11-09 09:47:49 UTC (rev 253)
+++ slashjp/trunk/Slash/LDAPDB/lib/Slash/LDAPDB.pm	2007-11-09 10:15:48 UTC (rev 254)
@@ -55,7 +55,7 @@
 		  @_ };
     bless $self, $class;
 
-    $DEBUG_LEVEL = $constants->{ldap_debug_level} || $DEBUG_LEVEL;
+    $DEBUG_LEVEL = $constants->{ldap_debug_level} >= 0 ? $constants->{ldap_debug_level} : $DEBUG_LEVEL;
 
     if (!$self->{_disabled} &&
 	!($self->{_ldap} = Net::LDAP->new($self->{host}, timeout => $self->{timeout}))){

Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2007-11-09 09:47:49 UTC (rev 253)
+++ slashjp/trunk/debian/changelog	2007-11-09 10:15:48 UTC (rev 254)
@@ -3,8 +3,9 @@
   * New upstream CVS release
   * Fix: $uid is not defined at plugins/Journal/Journal.pm
   * Fix: gSkin.imagedir has not been defined, change to constants.imagedir
+  * Fix: does not apply when ldap_debug_level is 0 at LDAPDB
 
- -- Taku YASUI <tach****@osdn*****>  Fri, 09 Nov 2007 18:32:10 +0900
+ -- Taku YASUI <tach****@osdn*****>  Fri, 09 Nov 2007 19:15:25 +0900
 
 slash (2.5.0.182-0.1) unstable; urgency=low
 


Slashdotjp-dev メーリングリストの案内
アーカイブの一覧に戻る