mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in webget.cgi. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include <QProcess>
|
||||
|
||||
#include <rdapplication.h>
|
||||
#include <rdconf.h>
|
||||
#include <rdescape_string.h>
|
||||
#include <rdgroup.h>
|
||||
#include <rdsendmail.h>
|
||||
@@ -294,7 +295,7 @@ void MainObject::GetAudio()
|
||||
fflush(NULL);
|
||||
if((fd=open(tmpfile.toUtf8(),O_RDONLY))>=0) {
|
||||
while((n=read(fd,data,2048))>0) {
|
||||
write(1,data,n);
|
||||
RDCheckReturnCode("GetAudio() write",write(1,data,n),n);
|
||||
}
|
||||
}
|
||||
close(fd);
|
||||
|
Reference in New Issue
Block a user