mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-20 15:02:27 +02:00
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:
parent
16cf96e4ff
commit
374db8fd3b
@ -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'.
|
||||
|
@ -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…
x
Reference in New Issue
Block a user