2018-05-25 Fred Gleason <fredg@paravelsystems.com>

* Merged pull request #000197, "Issue 195 rlm_filewrite filename
	wildcards".
This commit is contained in:
Fred Gleason
2018-05-25 21:56:37 +00:00
parent 6757bcef9b
commit 41ac60e2a0
3 changed files with 8 additions and 5 deletions

View File

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

View File

@@ -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;
} }

View File

@@ -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];
}; };