[Slashdotjp-dev 1206] [733] Fix LDAP.pm DEBUG_LEVEL warning

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 8月 8日 (金) 14:50:30 JST


Revision: 733
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=733
Author:   tach
Date:     2008-08-08 14:50:30 +0900 (Fri, 08 Aug 2008)

Log Message:
-----------
Fix LDAP.pm DEBUG_LEVEL warning

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


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/Slash/LDAPDB/lib/Slash/LDAPDB.pm
===================================================================
--- slashjp/branches/2.5.0.192/Slash/LDAPDB/lib/Slash/LDAPDB.pm	2008-07-30 09:44:13 UTC (rev 732)
+++ slashjp/branches/2.5.0.192/Slash/LDAPDB/lib/Slash/LDAPDB.pm	2008-08-08 05:50:30 UTC (rev 733)
@@ -55,7 +55,7 @@
 		  @_ };
     bless $self, $class;
 
-    $DEBUG_LEVEL = $constants->{ldap_debug_level} >= 0 ? $constants->{ldap_debug_level} : $DEBUG_LEVEL;
+    $DEBUG_LEVEL = $constants->{ldap_debug_level} ? int($constants->{ldap_debug_level}) : $DEBUG_LEVEL;
 
     if (!$self->{_disabled} &&
 	!($self->{_ldap} = Net::LDAP->new($self->{host}, timeout => $self->{timeout}))){

Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-07-30 09:44:13 UTC (rev 732)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-08-08 05:50:30 UTC (rev 733)
@@ -6,8 +6,9 @@
     - you can access old URL
   * Add /faq/ internal redirection at Slash/Apache/Apache.pm
     - This code is for slash-plugin-wikicontents
+  * Fix LDAP.pm DEBUG_LEVEL warning
 
- -- Taku YASUI <tach****@osdn*****>  Fri, 25 Jul 2008 14:36:41 +0000
+ -- Taku YASUI <tach****@osdn*****>  Fri, 08 Aug 2008 14:49:59 +0900
 
 slash (2.5.0.192-16) unstable; urgency=low
 


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