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