mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-30 07:32:32 +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:
parent
ad1dd66629
commit
1b8c758ad5
@ -21856,3 +21856,5 @@
|
|||||||
* Cleaned up compile warnings in rdselect_helper(1).
|
* Cleaned up compile warnings in rdselect_helper(1).
|
||||||
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
|
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Cleaned up compile warnings in rdxport.cgi.
|
* Cleaned up compile warnings in rdxport.cgi.
|
||||||
|
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Cleaned up compile warnings in webget.cgi.
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
|
|
||||||
#include <rdapplication.h>
|
#include <rdapplication.h>
|
||||||
|
#include <rdconf.h>
|
||||||
#include <rdescape_string.h>
|
#include <rdescape_string.h>
|
||||||
#include <rdgroup.h>
|
#include <rdgroup.h>
|
||||||
#include <rdsendmail.h>
|
#include <rdsendmail.h>
|
||||||
@ -294,7 +295,7 @@ void MainObject::GetAudio()
|
|||||||
fflush(NULL);
|
fflush(NULL);
|
||||||
if((fd=open(tmpfile.toUtf8(),O_RDONLY))>=0) {
|
if((fd=open(tmpfile.toUtf8(),O_RDONLY))>=0) {
|
||||||
while((n=read(fd,data,2048))>0) {
|
while((n=read(fd,data,2048))>0) {
|
||||||
write(1,data,n);
|
RDCheckReturnCode("GetAudio() write",write(1,data,n),n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(fd);
|
close(fd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user