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

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