mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-08 16:37:46 +02:00
2017-08-03 Fred Gleason <fredg@paravelsystems.com>
* Increased the length of the 'Formats=' parameter in the 'rlm_filewrite' RLM from 256 to 8192 characters.
This commit is contained in:
parent
1ac9a20c33
commit
81c5377fb3
@ -15924,3 +15924,6 @@
|
||||
'web/rdxport/rdxport.cpp'.
|
||||
2017-08-03 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added an 'rlm_urlwrite' RLM in 'rlm/rlm_urlwrite.c'.
|
||||
2017-08-03 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Increased the length of the 'Formats=' parameter in the
|
||||
'rlm_filewrite' RLM from 256 to 8192 characters.
|
||||
|
@ -132,9 +132,9 @@ void rlm_filewrite_RLMStart(void *ptr,const char *arg)
|
||||
(rlm_filewrite_devs+1)*sizeof(int));
|
||||
rlm_filewrite_appends[rlm_filewrite_devs]=
|
||||
RLMGetIntegerValue(ptr,arg,section,"Append",0);
|
||||
rlm_filewrite_formats=realloc(rlm_filewrite_formats,(rlm_filewrite_devs+1)*256);
|
||||
strncpy(rlm_filewrite_formats+256*rlm_filewrite_devs,
|
||||
RLMGetStringValue(ptr,arg,section,"FormatString",""),256);
|
||||
rlm_filewrite_formats=realloc(rlm_filewrite_formats,(rlm_filewrite_devs+1)*8192);
|
||||
strncpy(rlm_filewrite_formats+8192*rlm_filewrite_devs,
|
||||
RLMGetStringValue(ptr,arg,section,"FormatString",""),8192);
|
||||
rlm_filewrite_masters=realloc(rlm_filewrite_masters,
|
||||
(rlm_filewrite_devs+1)*sizeof(int));
|
||||
rlm_filewrite_masters[rlm_filewrite_devs]=
|
||||
@ -202,7 +202,7 @@ void rlm_filewrite_RLMPadDataSent(void *ptr,const struct rlm_svc *svc,
|
||||
}
|
||||
if((flag==1)||((flag==2)&&(log->log_onair!=0))) {
|
||||
strncpy(str,RLMResolveNowNextEncoded(ptr,now,next,
|
||||
rlm_filewrite_formats+256*i,
|
||||
rlm_filewrite_formats+8192*i,
|
||||
rlm_filewrite_encodings[i]),8192);
|
||||
rlm_filewrite_ProcessString(str);
|
||||
if(rlm_filewrite_appends[i]==0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user