mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-19 14:17:42 +02:00
2014-11-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'rdairplay/log_traffic.cpp' that broke when writing ELR data to a service with a space in its name.
This commit is contained in:
parent
f5c812ed1c
commit
14a4645577
@ -14659,3 +14659,6 @@
|
|||||||
2014-11-24 Fred Gleason <fredg@paravelsystems.com>
|
2014-11-24 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a bug in 'rdhpi/rdsoundcard.cpp' that caused AES3-only output
|
* Fixed a bug in 'rdhpi/rdsoundcard.cpp' that caused AES3-only output
|
||||||
ports to fail to be detected under HPI.
|
ports to fail to be detected under HPI.
|
||||||
|
2014-11-24 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a regression in 'rdairplay/log_traffic.cpp' that broke
|
||||||
|
when writing ELR data to a service with a space in its name.
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <rdconf.h>
|
#include <rdconf.h>
|
||||||
#include <rddb.h>
|
#include <rddb.h>
|
||||||
#include <rdescape_string.h>
|
#include <rdescape_string.h>
|
||||||
|
#include <rdsvc.h>
|
||||||
|
|
||||||
#include <log_traffic.h>
|
#include <log_traffic.h>
|
||||||
#include <globals.h>
|
#include <globals.h>
|
||||||
@ -46,7 +47,7 @@ void LogTraffic(const QString &svcname,const QString &logname,
|
|||||||
if((logline==NULL)||(svcname.isEmpty())) {
|
if((logline==NULL)||(svcname.isEmpty())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sql=QString("insert into `")+svcname+"_SRT` set "+
|
sql=QString("insert into `")+RDSvc::svcTableName(svcname)+"` set "+
|
||||||
QString().sprintf("LENGTH=%d,",length)+
|
QString().sprintf("LENGTH=%d,",length)+
|
||||||
"LOG_NAME=\""+RDEscapeString(logname.utf8())+"\","+
|
"LOG_NAME=\""+RDEscapeString(logname.utf8())+"\","+
|
||||||
QString().sprintf("LOG_ID=%d,",logline->id())+
|
QString().sprintf("LOG_ID=%d,",logline->id())+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user