Changeset 22:0b3b46da2c12 in freeDiameter for freeDiameter/peers.c
- Timestamp:
- Oct 19, 2009, 6:43:09 PM (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/peers.c
r20 r22 101 101 102 102 p->p_hdr.info.pi_lft = info->pi_lft; 103 p->p_hdr.info.pi_streams = info->pi_streams;104 103 p->p_hdr.info.pi_port = info->pi_port; 105 104 p->p_hdr.info.pi_tctimer = info->pi_tctimer; 106 105 p->p_hdr.info.pi_twtimer = info->pi_twtimer; 106 107 if (info->pi_sec_data.priority) { 108 CHECK_MALLOC( p->p_hdr.info.pi_sec_data.priority = strdup(info->pi_sec_data.priority) ); 109 } 107 110 108 111 /* Move the items from one list to the other */ … … 113 116 fd_list_insert_before(&p->p_hdr.info.pi_endpoints, li); 114 117 } 118 115 119 116 120 /* The internal data */ … … 229 233 230 234 if (p->p_cnxctx) { 231 TODO("destroy p->p_cnxctx");235 fd_cnx_destroy(p->p_cnxctx); 232 236 } 233 237 … … 293 297 list_empty = FD_IS_LIST_EMPTY(&fd_g_peers); 294 298 CHECK_FCT_DO( pthread_rwlock_unlock(&fd_g_peers_rw), /* continue */ ); 299 CHECK_SYS( clock_gettime(CLOCK_REALTIME, &now) ); 295 300 } 296 301
Note: See TracChangeset
for help on using the changeset viewer.