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

* Cleaned up compile warnings in rdcatchd(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-06-02 14:45:57 -04:00
parent 0a0834666f
commit 8c3e303725
3 changed files with 8 additions and 3 deletions

View File

@ -21824,3 +21824,5 @@
* Cleaned up compile warnings in 'lib/rdunixserver.cpp'.
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in rdcatch(1).
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in rdcatchd(8).

View File

@ -369,7 +369,9 @@ void MainObject::RunUpload(CatchEvent *evt)
(const char *)evt->tempName().toUtf8());
}
else {
chown(evt->tempName().toUtf8(),rda->config()->uid(),rda->config()->gid());
RDCheckExitCode("batch.cpp chown",chown(evt->tempName().toUtf8(),
rda->config()->uid(),
rda->config()->gid()));
}
}

View File

@ -2341,8 +2341,9 @@ void MainObject::CheckInRecording(QString cutname,CatchEvent *evt,
cart->updateLength();
delete cart;
delete cut;
chown(RDCut::pathName(cutname).toUtf8(),rda->config()->uid(),
rda->config()->gid());
RDCheckExitCode("rdcatchd.cpp chown",chown(RDCut::pathName(cutname).toUtf8(),
rda->config()->uid(),
rda->config()->gid()));
}