Merge "res_pjsip_pubsub: Use ast_true for "prune_on_boot"."

This commit is contained in:
Joshua Colp
2018-07-31 16:11:32 -05:00
committed by Gerrit Code Review

View File

@@ -5522,7 +5522,7 @@ static int load_module(void)
persistence_expires_str2struct, persistence_expires_struct2str, NULL, 0, 0); persistence_expires_str2struct, persistence_expires_struct2str, NULL, 0, 0);
ast_sorcery_object_field_register(sorcery, "subscription_persistence", "contact_uri", "", OPT_CHAR_ARRAY_T, 0, ast_sorcery_object_field_register(sorcery, "subscription_persistence", "contact_uri", "", OPT_CHAR_ARRAY_T, 0,
CHARFLDSET(struct subscription_persistence, contact_uri)); CHARFLDSET(struct subscription_persistence, contact_uri));
ast_sorcery_object_field_register(sorcery, "subscription_persistence", "prune_on_boot", "no", OPT_YESNO_T, 0, ast_sorcery_object_field_register(sorcery, "subscription_persistence", "prune_on_boot", "no", OPT_YESNO_T, 1,
FLDSET(struct subscription_persistence, prune_on_boot)); FLDSET(struct subscription_persistence, prune_on_boot));
if (apply_list_configuration(sorcery)) { if (apply_list_configuration(sorcery)) {