mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
T#7824: Allow empty value for FacilityAction parameter
This commit is contained in:
parent
fb4b9784af
commit
007255fa72
1 changed files with 1 additions and 1 deletions
|
|
@ -1214,7 +1214,7 @@ static int get_ServicesVoiceServiceCallControlNumberingPlanPrefixInfo_FacilityAc
|
||||||
char *type = NULL;
|
char *type = NULL;
|
||||||
|
|
||||||
dmuci_get_value_by_section_string(((struct dmmap_dup *)data)->config_section, "facilityaction", &type);
|
dmuci_get_value_by_section_string(((struct dmmap_dup *)data)->config_section, "facilityaction", &type);
|
||||||
if (dm_validate_string(type, -1, -1, FacilityAction, NULL))
|
if (*type && dm_validate_string(type, -1, -1, FacilityAction, NULL))
|
||||||
dmasprintf(value, "%s%s", BBF_VENDOR_PREFIX, type);
|
dmasprintf(value, "%s%s", BBF_VENDOR_PREFIX, type);
|
||||||
else
|
else
|
||||||
*value = type;
|
*value = type;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue