mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-30 09:13:51 +01:00
2018-05-25 Fred Gleason <fredg@paravelsystems.com>
* Merged pull request #000197, "Issue 195 rlm_filewrite filename wildcards".
This commit is contained in:
@@ -16912,3 +16912,6 @@
|
|||||||
2018-05-25 Fred Gleason <fredg@paravelsystems.com>
|
2018-05-25 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Merged pull request #000194, "Fixed bug in GetStream() where
|
* Merged pull request #000194, "Fixed bug in GetStream() where
|
||||||
return value from HPI_OutStreamOpen was ignored".
|
return value from HPI_OutStreamOpen was ignored".
|
||||||
|
2018-05-25 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Merged pull request #000197, "Issue 195 rlm_filewrite filename
|
||||||
|
wildcards".
|
||||||
|
|||||||
@@ -533,10 +533,10 @@ const char *RLMGetStringValue(void *ptr,const char *filename,
|
|||||||
const char *RLMDateTimeDecode(void *ptr, const char *format,
|
const char *RLMDateTimeDecode(void *ptr, const char *format,
|
||||||
const char *svc_name)
|
const char *svc_name)
|
||||||
{
|
{
|
||||||
RLMHost *host=(RLMHost *)ptr;
|
RDRLMHost *host=(RDRLMHost *)ptr;
|
||||||
strncpy(host->plugin_value_string,
|
strncpy(host->plugin_value_string,
|
||||||
RDDateTimeDecode(format,QDateTime::currentDateTime(),
|
RDDateTimeDecode(format,QDateTime::currentDateTime(),
|
||||||
rdstation_conf,air_config,
|
rda->station(),rda->config(),
|
||||||
svc_name),1024);
|
svc_name),1024);
|
||||||
return host->plugin_value_string;
|
return host->plugin_value_string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ class RDRLMHost : public QObject
|
|||||||
const char *section,const char *label,
|
const char *section,const char *label,
|
||||||
const char *default_value);
|
const char *default_value);
|
||||||
friend const char *RLMDateTimeDecode(void *ptr, const char *format,
|
friend const char *RLMDateTimeDecode(void *ptr, const char *format,
|
||||||
const char *svc_name);
|
const char *svc_name);
|
||||||
char plugin_value_string[1024];
|
char plugin_value_string[1024];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user