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:
Fred Gleason 2021-06-02 17:37:17 -04:00
parent ad1dd66629
commit 1b8c758ad5
2 changed files with 4 additions and 1 deletions

View File

@ -21856,3 +21856,5 @@
* Cleaned up compile warnings in rdselect_helper(1).
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in rdxport.cgi.
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in webget.cgi.

View File

@ -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);