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

* Fixed a compile time warning in 'web/webget/webget.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-10-02 12:35:11 -04:00
parent cef02342d5
commit 9e1ed40a9f
2 changed files with 3 additions and 1 deletions

View File

@ -22482,3 +22482,5 @@
2021-09-30 Fred Gleason <fredg@paravelsystems.com> 2021-09-30 Fred Gleason <fredg@paravelsystems.com>
* Added a '--show-styles' switch to all modules. * Added a '--show-styles' switch to all modules.
* Changed the default QStyle to 'Windows'. * Changed the default QStyle to 'Windows'.
2021-10-02 Fred Gleason <fredg@paravelsystems.com>
* Fixed a compile time warning in 'web/webget/webget.cpp'.

View File

@ -821,7 +821,7 @@ void MainObject::SaveSourceFile(const QString &filepath) const
// Move the data // Move the data
// //
while((n=read(src_fd,buffer,1024))>0) { while((n=read(src_fd,buffer,1024))>0) {
write(dst_fd,buffer,n); RDCheckExitCode("webget service",write(dst_fd,buffer,n));
} }
if(n<0) { if(n<0) {
rda->syslog(LOG_WARNING,"error while reading source file \"%s\" for SaveWebgetFilesDirectory [%s]", rda->syslog(LOG_WARNING,"error while reading source file \"%s\" for SaveWebgetFilesDirectory [%s]",