[Lxr-commits] CVS: lxr/lib/LXR/Index Mysql.pm,1.9,1.10
Brought to you by:
ajlittoz
|
From: Malcolm B. <mb...@us...> - 2001-10-17 23:52:45
|
Update of /cvsroot/lxr/lxr/lib/LXR/Index
In directory usw-pr-cvs1:/tmp/cvs-serv5019
Modified Files:
Mysql.pm
Log Message:
Fix typo in if() expression
Index: Mysql.pm
===================================================================
RCS file: /cvsroot/lxr/lxr/lib/LXR/Index/Mysql.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Mysql.pm 2001/10/16 20:25:32 1.9
+++ Mysql.pm 2001/10/17 23:52:42 1.10
@@ -32,7 +32,7 @@
my ($self, $dbname) = @_;
$self = bless({}, $self);
- if(defined($config->{dbpass}) {
+ if(defined($config->{dbpass})) {
$self->{dbh} = DBI->connect($dbname, $config->{dbuser},
$config->{dbpass})
|| fatal "Can't open connection to database\n";
|