Browse Source

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>
pull/849/head
Fred Gleason 9 months ago
parent
commit
374db8fd3b
  1. 2
      ChangeLog
  2. 16
      web/rdxport/podcasts.cpp

2
ChangeLog

@ -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'.

16
web/rdxport/podcasts.cpp

@ -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
//

Loading…
Cancel
Save