mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-30 16:32:28 +01:00
2022-11-16 Fred Gleason <fredg@paravelsystems.com>
* Added a 'QString *err_msg' argument to 'RDDownload::runDownload()'. * Added a 'QString *err_msg' argument to 'RDDownload::runUpload()'. * Fixed regression in rdcatch(1) that caused upload and download events to fail to show exit status correctly. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -31,6 +31,7 @@ MainObject::MainObject(QObject *parent)
|
||||
:QObject(parent)
|
||||
{
|
||||
QString err_msg;
|
||||
QString curl_err_msg;
|
||||
|
||||
username="";
|
||||
password="";
|
||||
@@ -102,8 +103,9 @@ MainObject::MainObject(QObject *parent)
|
||||
printf("Downloading...\n");
|
||||
conv_err=conv->
|
||||
runDownload(username,password,ssh_identity_filename,use_identity_file,
|
||||
rda->config()->logXloadDebugData());
|
||||
&curl_err_msg,rda->config()->logXloadDebugData());
|
||||
printf("Result: %s\n",RDDownload::errorText(conv_err).toUtf8().constData());
|
||||
printf("CURL Msg: %s\n",curl_err_msg.toUtf8().constData());
|
||||
delete conv;
|
||||
|
||||
exit(0);
|
||||
|
||||
Reference in New Issue
Block a user