Changeset 1052:b3d623f04b6d in freeDiameter for libfdproto
- Timestamp:
- Apr 24, 2013, 1:49:00 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libfdproto
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/dictionary.c
r1050 r1052 1180 1180 n = enumval->enum_value.os.len; 1181 1181 for (i=0; i < n; i++) 1182 fd_log_debug("0x% 02hhX/'%c' ", enumval->enum_value.os.data[i], ASCII(enumval->enum_value.os.data[i]));1182 fd_log_debug("0x%2hhX/'%c' ", enumval->enum_value.os.data[i], ASCII(enumval->enum_value.os.data[i])); 1183 1183 if (n == LEN_MAX) 1184 1184 fd_log_debug("..."); -
libfdproto/dictionary_functions.c
r1035 r1052 232 232 233 233 char * end = strchr(ret, '\0'); 234 char * oldend = end;235 234 while (end > ret) { 236 235 end--; … … 337 336 return ret; 338 337 } 339 if (diameter_string_to_time_t( avp_value->os.data, avp_value->os.len, &val) != 0) {338 if (diameter_string_to_time_t((char *)avp_value->os.data, avp_value->os.len, &val) != 0) { 340 339 snprintf(ret, STR_LEN, "[time conversion error]"); 341 340 return ret; -
libfdproto/fdproto-internal.h
r1036 r1052 66 66 67 67 /* Messages / sessions API */ 68 int fd_sess_fromsid_msg ( uint8_t * sid, size_t len, struct session ** session, int * new);69 int fd_sess_ref_msg ( struct session * session );70 68 int fd_sess_reclaim_msg ( struct session ** session ); 71 69
Note: See TracChangeset
for help on using the changeset viewer.