Changeset 403:26aafbbc1640 in freeDiameter for extensions/rt_default
- Timestamp:
- Jul 8, 2010, 2:24:19 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rt_default/rtd_rules.c
r258 r403 307 307 } 308 308 309 /* Search in list (targets or rules) the next matching item for string str(len). Returned in next_match, or *next_match == NULL if no more match. Re-enter with same next_match for the next one. */309 /* Search in list (targets or rules) the next matching item for octet string str(len). Returned in next_match, or *next_match == NULL if no more match. Re-enter with same next_match for the next one. */ 310 310 static int get_next_match(struct fd_list * list, char * str, size_t len, struct fd_list ** next_match) 311 311 { … … 577 577 r = NULL; 578 578 do { 579 CHECK_FCT ( get_next_match( &target->rules[j], parsed_msg_avp[j].avp->os.data, parsed_msg_avp[j].avp->os.len, (void *)&r) );579 CHECK_FCT ( get_next_match( &target->rules[j], (char *) /* is this cast safe? */ parsed_msg_avp[j].avp->os.data, parsed_msg_avp[j].avp->os.len, (void *)&r) ); 580 580 if (!r) 581 581 break;
Note: See TracChangeset
for help on using the changeset viewer.