mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
2019-10-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdimport(1) that caused a segfault when invoked with the '--metadata-pattern' and '--log-syslog' switches.
This commit is contained in:
@@ -2011,7 +2011,7 @@ void MainObject::Log(int prio,const QString &msg) const
|
||||
FILE *f=NULL;
|
||||
|
||||
if(import_log_syslog) {
|
||||
rda->syslog(prio,msg.trimmed());
|
||||
rda->syslog(prio,"%s",(const char *)msg.trimmed().toUtf8());
|
||||
}
|
||||
if(!import_log_filename.isEmpty()) {
|
||||
QDateTime now=QDateTime::currentDateTime();
|
||||
|
||||
Reference in New Issue
Block a user