FS-4435 looks ok at a glance, at least this code is isolated to the small few who actually use it so i will put it in for testing

This commit is contained in:
Anthony Minessale
2012-07-17 17:01:10 -05:00
parent 19b7e30eea
commit 223244d491
4 changed files with 58 additions and 48 deletions
+2 -2
View File
@@ -438,9 +438,11 @@ typedef enum {
struct sofia_gateway_subscription {
sofia_gateway_t *gateway;
nua_handle_t *nh;
char *expires_str;
char *event; /* eg, 'message-summary' to subscribe to MWI events */
char *content_type; /* eg, application/simple-message-summary in the case of MWI events */
char *request_uri;
uint32_t freq;
int32_t retry_seconds;
time_t expires;
@@ -452,7 +454,6 @@ struct sofia_gateway_subscription {
struct sofia_gateway {
sofia_private_t *sofia_private;
nua_handle_t *nh;
nua_handle_t *sub_nh;
sofia_profile_t *profile;
char *name;
char *register_scheme;
@@ -491,7 +492,6 @@ struct sofia_gateway {
int32_t retry_seconds;
int32_t reg_timeout_seconds;
int32_t failure_status;
sub_state_t sub_state;
reg_state_t state;
switch_memory_pool_t *pool;
int deleted;