mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-02 15:13:52 +01:00
2025-09-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDConfig' that caused a false 'invalid dropbox ID' warning to be generated when parsing rd.conf(5). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -25042,3 +25042,6 @@
|
||||
2025-08-30 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a 'LogDropboxProcessing=' directive to the '[Debugging]'
|
||||
section of rd.conf(5).
|
||||
2025-09-13 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in 'RDConfig' that caused a false 'invalid dropbox ID'
|
||||
warning to be generated when parsing rd.conf(5).
|
||||
|
||||
@@ -714,13 +714,15 @@ bool RDConfig::load()
|
||||
QStringList f0=profile->stringValue("Debugging","LogDropboxProcessing").
|
||||
split(",",QString::KeepEmptyParts);
|
||||
for(int i=0;i<f0.size();i++) {
|
||||
bool ok=false;
|
||||
int id=f0.at(i).trimmed().toUInt(&ok);
|
||||
if(ok&&(id>0)) {
|
||||
conf_log_dropbox_processing_ids.push_back(id);
|
||||
}
|
||||
else {
|
||||
fprintf(stderr,"WARNING: invalid dropbox ID \"%s\" specified in LogDropboxProcessing=\n",f0.at(i).toUtf8().constData());
|
||||
if(!f0.at(i).trimmed().isEmpty()) {
|
||||
bool ok=false;
|
||||
int id=f0.at(i).trimmed().toUInt(&ok);
|
||||
if(ok&&(id>0)) {
|
||||
conf_log_dropbox_processing_ids.push_back(id);
|
||||
}
|
||||
else {
|
||||
fprintf(stderr,"WARNING: invalid dropbox ID \"%s\" specified in LogDropboxProcessing=\n",f0.at(i).toUtf8().constData());
|
||||
}
|
||||
}
|
||||
}
|
||||
conf_meter_base_port=
|
||||
|
||||
Reference in New Issue
Block a user