2022-09-02 Fred Gleason <fredg@paravelsystems.com>

* Added commented-out debug code to 'web/rdxport/podcasts.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-09-02 14:37:47 -04:00
parent 16cf96e4ff
commit 374db8fd3b
2 changed files with 18 additions and 0 deletions

View File

@ -20928,3 +20928,5 @@
* Fixed a bug that broke the 'make dist' target.
2022-09-01 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 3.6.5int4.
2022-09-02 Fred Gleason <fredg@paravelsystems.com>
* Added commented-out debug code to 'web/rdxport/podcasts.cpp'.

View File

@ -355,6 +355,14 @@ void Xport::RemovePodcast()
bool Xport::PostRssElemental(RDFeed *feed,const QDateTime &now,QString *err_msg)
{
FILE *ferr=NULL;
/*
if((ferr=fopen("/var/snd/PostRssElemental.debug","w+"))==NULL) {
rda->syslog(LOG_ERR,"debug file open failed [%s]",strerror(errno));
return false;
}
*/
CURL *curl=NULL;
CURLcode curl_err;
char errstr[CURL_ERROR_SIZE];
@ -366,6 +374,14 @@ bool Xport::PostRssElemental(RDFeed *feed,const QDateTime &now,QString *err_msg)
xport_curl_data=feed->rssXml(err_msg,now).toUtf8();
xport_curl_data_ptr=0;
//
// Debugging Parameters
//
if(ferr!=NULL) {
curl_easy_setopt(curl,CURLOPT_VERBOSE,1);
curl_easy_setopt(curl,CURLOPT_STDERR,ferr);
}
//
// Authentication Parameters
//