mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
stringfields: Collect extended stringfields into the stringfield section.
Use of extended stringfields is a temporary mechanism to avoid ABI breakage in released branches without resorting to more inconvienient methods. * Collect existing extended stringfields into the parent stringfield section of the struct. Change-Id: I8d46d037801b4518837c3ea4b6df95ceadc9436b
This commit is contained in:
@@ -246,8 +246,7 @@ struct ast_bridge_snapshot *ast_bridge_snapshot_create(struct ast_bridge *bridge
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (ast_string_field_init(snapshot, 128)
|
||||
|| ast_string_field_init_extended(snapshot, video_source_id)) {
|
||||
if (ast_string_field_init(snapshot, 128)) {
|
||||
ao2_ref(snapshot, -1);
|
||||
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user