From 9e1ed40a9f9712b72a90e8da2207afc7c8878d66 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Sat, 2 Oct 2021 12:35:11 -0400 Subject: [PATCH] 2021-10-02 Fred Gleason * Fixed a compile time warning in 'web/webget/webget.cpp'. Signed-off-by: Fred Gleason --- ChangeLog | 2 ++ web/webget/webget.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 078a8ae2..0469fa7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22482,3 +22482,5 @@ 2021-09-30 Fred Gleason * Added a '--show-styles' switch to all modules. * Changed the default QStyle to 'Windows'. +2021-10-02 Fred Gleason + * Fixed a compile time warning in 'web/webget/webget.cpp'. diff --git a/web/webget/webget.cpp b/web/webget/webget.cpp index 72dad964..2994faa4 100644 --- a/web/webget/webget.cpp +++ b/web/webget/webget.cpp @@ -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]",