Changeset 974:2091bf698fb1 in freeDiameter for libfdproto/dictionary.c
- Timestamp:
- Mar 15, 2013, 2:14:35 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/dictionary.c
r972 r974 315 315 { 316 316 if (obj) { 317 TRACE_DEBUG(FULL, "Invalid object : %p \n"317 TRACE_DEBUG(FULL, "Invalid object : %p" 318 318 " obj->objeyec : %x / %x\n" 319 319 " obj->type : %d\n" … … 1282 1282 for (i=0; i<NB_LISTS_PER_OBJ; i++) { 1283 1283 if ((obj->list[i].o == NULL) && (obj->list[i].next != &obj->list[i])) { 1284 fd_log_debug("%*s>%p: list[%d]: \n", indent, "", obj, i);1284 fd_log_debug("%*s>%p: list[%d]:", indent, "", obj, i); 1285 1285 dump_list(&obj->list[i], parents, depth - 1, indent + 2); 1286 1286 } … … 1291 1291 void fd_dict_dump_object(struct dict_object * obj) 1292 1292 { 1293 fd_log_debug("Dictionary object %p dump: \n", obj);1293 fd_log_debug("Dictionary object %p dump:", obj); 1294 1294 dump_object( obj, 1, 2, 2 ); 1295 1295 } … … 1304 1304 CHECK_POSIX_DO( pthread_rwlock_rdlock( &dict->dict_lock ), /* ignore */ ); 1305 1305 1306 fd_log_debug("###################################################### \n");1307 fd_log_debug("###### Dumping vendors, AVPs and related rules ####### \n");1306 fd_log_debug("######################################################"); 1307 fd_log_debug("###### Dumping vendors, AVPs and related rules #######"); 1308 1308 1309 1309 dump_object( &dict->dict_vendors, 0, 3, 0 ); … … 1311 1311 dump_object( li->o, 0, 3, 0 ); 1312 1312 1313 fd_log_debug("###### Dumping applications ####### \n");1313 fd_log_debug("###### Dumping applications #######"); 1314 1314 1315 1315 dump_object( &dict->dict_applications, 0, 1, 0 ); … … 1317 1317 dump_object( li->o, 0, 1, 0 ); 1318 1318 1319 fd_log_debug("###### Dumping types ####### \n");1319 fd_log_debug("###### Dumping types #######"); 1320 1320 1321 1321 dump_list( &dict->dict_types, 0, 2, 0 ); 1322 1322 1323 fd_log_debug("###### Dumping commands per name ####### \n");1323 fd_log_debug("###### Dumping commands per name #######"); 1324 1324 1325 1325 dump_list( &dict->dict_cmd_name, 0, 2, 0 ); 1326 1326 1327 fd_log_debug("###### Dumping commands per code and flags ####### \n");1327 fd_log_debug("###### Dumping commands per code and flags #######"); 1328 1328 1329 1329 dump_list( &dict->dict_cmd_code, 0, 0, 0 ); 1330 1330 1331 fd_log_debug("###### Statistics ####### \n");1331 fd_log_debug("###### Statistics #######"); 1332 1332 1333 1333 for (i=1; i<=DICT_TYPE_MAX; i++) 1334 fd_log_debug(" %5d objects of type %s \n", dict->dict_count[i], dict_obj_info[i].name);1335 1336 fd_log_debug("###################################################### \n");1334 fd_log_debug(" %5d objects of type %s", dict->dict_count[i], dict_obj_info[i].name); 1335 1336 fd_log_debug("######################################################"); 1337 1337 1338 1338 /* Free the rwlock */ … … 1867 1867 TRACE_DEBUG(INFO, "An existing object with different non-key data was found: EEXIST"); 1868 1868 if (TRACE_BOOL(INFO)) { 1869 fd_log_debug("New object to insert: \n");1869 fd_log_debug("New object to insert:"); 1870 1870 dump_object(new, 0, 0, 3); 1871 fd_log_debug("Object already in dictionary: \n");1871 fd_log_debug("Object already in dictionary:"); 1872 1872 dump_object(locref, 0, 0 , 3); 1873 1873 }
Note: See TracChangeset
for help on using the changeset viewer.