mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-25 14:11:30 +01:00
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs that broke the build under Windows.
This commit is contained in:
@@ -16178,3 +16178,5 @@
|
|||||||
* Added a 'Show Event Type' filter to rdcatch(1).
|
* Added a 'Show Event Type' filter to rdcatch(1).
|
||||||
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
|
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Removed the 'socket error' message from 'RDCatchConnect'.
|
* Removed the 'socket error' message from 'RDCatchConnect'.
|
||||||
|
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed bugs that broke the build under Windows.
|
||||||
|
|||||||
@@ -619,10 +619,10 @@ void RDConfig::load()
|
|||||||
//
|
//
|
||||||
int sock=-1;
|
int sock=-1;
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
if((sock=socket(PF_INET,SOCK_DGRAM,IPPROTO_IP))<0) {
|
if((sock=socket(PF_INET,SOCK_DGRAM,IPPROTO_IP))<0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#ifndef WIN32
|
|
||||||
struct ifreq ifr;
|
struct ifreq ifr;
|
||||||
int index=0;
|
int index=0;
|
||||||
|
|
||||||
|
|||||||
@@ -684,9 +684,10 @@ bool RDReport::generateReport(const QDate &startdate,const QDate &enddate,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
*out_path=RDDateDecode(exportPath(RDReport::Windows),startdate);
|
*out_path=RDDateDecode(exportPath(RDReport::Windows),startdate,report_station,
|
||||||
|
report_config,serviceName());
|
||||||
QString post_cmd=RDDateDecode(postExportCommand(RDReport::Windows),startdate,
|
QString post_cmd=RDDateDecode(postExportCommand(RDReport::Windows),startdate,
|
||||||
report_config,serviceName());
|
report_station,report_config,serviceName());
|
||||||
#else
|
#else
|
||||||
*out_path=RDDateDecode(exportPath(RDReport::Linux),startdate,report_station,
|
*out_path=RDDateDecode(exportPath(RDReport::Linux),startdate,report_station,
|
||||||
report_config,serviceName());
|
report_config,serviceName());
|
||||||
|
|||||||
@@ -197,7 +197,8 @@ void PickReportDates::generateData()
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
QString filename=
|
QString filename=
|
||||||
RDDateDecode(report->exportPath(RDReport::Windows),
|
RDDateDecode(report->exportPath(RDReport::Windows),
|
||||||
edit_startdate_edit->date(),log_config,edit_svcname);
|
edit_startdate_edit->date(),rdstation_conf,log_config,
|
||||||
|
edit_svcname);
|
||||||
#else
|
#else
|
||||||
QString filename=
|
QString filename=
|
||||||
RDDateDecode(report->exportPath(RDReport::Linux),
|
RDDateDecode(report->exportPath(RDReport::Linux),
|
||||||
|
|||||||
Reference in New Issue
Block a user