Opened 11 years ago

Closed 11 years ago

#1693 closed defect (fixed)

Header lists are not updated in pjsua_acc_modify() and bug in pjsua_acc_get_config()

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.2
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

The pjsua_acc_config.reg_hdr_list and pjsua_acc_config.sub_hdr_list are ignored by pjsua_acc_modify().

This ticket also changes pjsua_acc_get_config() API. Previously it just memcpy() the config but this no longer works since the pjsua_acc_config now contains header list (as above) and list cannot just be copied like that. So we need to use pjsua_acc_config_dup() for this.

Change History (1)

comment:1 Changed 11 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

In 4580:

Fixed #1693: Pay attention to reg_hdr_list and sub_hdr_list in pjsua_acc_modify(), and also fixed pjsua_acc_get_config()

Note: See TracTickets for help on using tickets.