2021-02-23 Fred Gleason <fredg@paravelsystems.com>

* Removed the Qt3Support library from the build system.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-23 18:07:21 -05:00
parent b2f8532e25
commit 89a0d72439
508 changed files with 5763 additions and 6078 deletions

View File

@@ -83,11 +83,11 @@ MainObject::MainObject(QObject *parent)
rda->logAuthenticationFailure(webget_post->clientAddress());
TextExit("missing REQUEST_METHOD",500,LINE_NUMBER);
}
if(QString(getenv("REQUEST_METHOD")).lower()=="get") {
if(QString(getenv("REQUEST_METHOD")).toLower()=="get") {
ServeLogin(200);
Exit(0);
}
if(QString(getenv("REQUEST_METHOD")).lower()!="post") {
if(QString(getenv("REQUEST_METHOD")).toLower()!="post") {
rda->syslog(LOG_WARNING,"unsupported web method \"%s\"",
getenv("REQUEST_METHOD"));
rda->logAuthenticationFailure(webget_post->clientAddress());
@@ -292,13 +292,13 @@ void MainObject::GetAudio()
break;
}
fflush(NULL);
if((fd=open(tmpfile,O_RDONLY))>=0) {
if((fd=open(tmpfile.toUtf8(),O_RDONLY))>=0) {
while((n=read(fd,data,2048))>0) {
write(1,data,n);
}
}
close(fd);
unlink(tmpfile);
unlink(tmpfile.toUtf8());
delete tempdir;
Exit(0);
break;