mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02:00
2021-04-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed security warnings when build under Debian. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -21595,3 +21595,5 @@
|
|||||||
* Escaped all SQL identifiers in 'web/webget/'.
|
* Escaped all SQL identifiers in 'web/webget/'.
|
||||||
* Replaced " with ' delimiters in all SQL literal strings in
|
* Replaced " with ' delimiters in all SQL literal strings in
|
||||||
'web/webget/'.
|
'web/webget/'.
|
||||||
|
2021-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed security warnings when build under Debian.
|
||||||
|
@@ -60,7 +60,7 @@ void PrintError(const QString &str,bool interactive)
|
|||||||
QMessageBox::warning(NULL,QObject::tr("RDAdmin Error"),str);
|
QMessageBox::warning(NULL,QObject::tr("RDAdmin Error"),str);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fprintf(stderr,(QString("rdadmin: ")+str).toUtf8().constData());
|
fprintf(stderr,"rdadmin: %s\n",str.toUtf8().constData());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -79,7 +79,7 @@ MainObject::MainObject(QObject *parent)
|
|||||||
//
|
//
|
||||||
QString err (tr("datedecode_test: "));
|
QString err (tr("datedecode_test: "));
|
||||||
if(!RDOpenDb(&schema,&err,config)) {
|
if(!RDOpenDb(&schema,&err,config)) {
|
||||||
fprintf(stderr,err.toUtf8());
|
fprintf(stderr,"%s\n",err.toUtf8().constData());
|
||||||
delete cmd;
|
delete cmd;
|
||||||
exit(256);
|
exit(256);
|
||||||
}
|
}
|
||||||
|
@@ -84,7 +84,7 @@ MainObject::MainObject(QObject *parent)
|
|||||||
//
|
//
|
||||||
QString err (tr("upload_test: "));
|
QString err (tr("upload_test: "));
|
||||||
if(!RDOpenDb(&schema,&err,test_config)) {
|
if(!RDOpenDb(&schema,&err,test_config)) {
|
||||||
fprintf(stderr,err.toUtf8());
|
fprintf(stderr,"%s\n",err.toUtf8().constData());
|
||||||
delete cmd;
|
delete cmd;
|
||||||
exit(256);
|
exit(256);
|
||||||
}
|
}
|
||||||
|
@@ -87,7 +87,7 @@ MainObject::MainObject(QObject *parent)
|
|||||||
//
|
//
|
||||||
QString err (tr("upload_test: "));
|
QString err (tr("upload_test: "));
|
||||||
if(!RDOpenDb(&schema,&err,config)) {
|
if(!RDOpenDb(&schema,&err,config)) {
|
||||||
fprintf(stderr,err.toUtf8());
|
fprintf(stderr,"%s\n",err.toUtf8().constData());
|
||||||
delete cmd;
|
delete cmd;
|
||||||
exit(256);
|
exit(256);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user