Changeset 430:f77fc3a97287 in freeDiameter for extensions/app_sip/locationinfosl.c
- Timestamp:
- Jul 27, 2010, 2:56:21 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_sip/locationinfosl.c
r427 r430 42 42 43 43 struct msg *ans, *qry; 44 struct avp *avp , *groupedavp;44 struct avp *avp; 45 45 struct avp_hdr *avphdr; 46 46 union avp_value value; … … 86 86 CHECK_FCT( fd_msg_search_avp ( qry, sip_dict.SIP_AOR, &avp) ); 87 87 CHECK_FCT( fd_msg_avp_hdr( avp, &avphdr ) ); 88 int diameterurilen;88 size_t diameterurilen; 89 89 char * diameter_uri=NULL; 90 90 … … 105 105 { 106 106 CHECK_FCT( fd_msg_avp_new ( sip_dict.Redirect_Host, 0, &avp ) ); 107 value.os.data= diameter_uri;107 value.os.data=(unsigned char *)diameter_uri; 108 108 value.os.len=diameterurilen; 109 109 CHECK_FCT( fd_msg_avp_setvalue( avp, &value ) );
Note: See TracChangeset
for help on using the changeset viewer.