diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2007-11-09 12:56:57 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2007-11-09 12:56:57 +0000 |
| commit | 5a05c75078cd3dc8e6eb0ac9cb5e6548c3c8fe9f (patch) | |
| tree | 559506c22af32a05c4ac69401403229436caaa75 /bin | |
| parent | e9c78e4454837aaddb13e108335efafd247bf905 (diff) | |
| download | xxv-5a05c75078cd3dc8e6eb0ac9cb5e6548c3c8fe9f.tar.gz xxv-5a05c75078cd3dc8e6eb0ac9cb5e6548c3c8fe9f.tar.bz2 | |
* Fix: Modification of a read-only value attempted at Tools.pm line 154
* RECORDS: Calc free recording capacity, now based on used file size
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/xxvd | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -392,10 +392,10 @@ sub getDbh { }); if($dbh) { - debug('Connect to database: %s successful.', $dsn); + debug sprintf('Connect to database: %s successful.', $dsn); $dbh->{'mysql_auto_reconnect'} = 1; } else { - panic("Could not connect to database: %s :", $dsn, $DBI::errstr); + panic sprintf("Could not connect to database: %s :", $dsn, $DBI::errstr); unlink $PATHS->{PIDFILE}; &toCleanUp(); exit(1); @@ -427,7 +427,7 @@ sub getModule { my ($modname) = grep(/${name}$/, keys %$MODULES); unless ($modname) { - error(sprintf "Requested modul '%s' is'nt loaded!",$name); + error sprintf("Requested modul '%s' is'nt loaded!",$name); return undef; } @@ -718,7 +718,7 @@ sub init_signal_handler { $SIG{HUP} = sub{ lg "Reconfiguration ... "; $Config = Config::Tiny->read( $pat->{CFGFILE} ) - or return error('Problem to read the %s: %s', $pat->{CFGFILE}, $CFGOBJ->errstr); + or return error sprintf('Problem to read file %s: %s', $pat->{CFGFILE}, $CFGOBJ->errstr); my $configModule = getModule('CONFIG') or return error("Couldn't load the config modul!"); $configModule->reconfigure; |
