Mercurial > hg > freeDiameter-dtls
changeset 1204:40330b75c044
Remove unused code
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Fri, 14 Jun 2013 12:19:58 +0800 |
parents | d2608e47db28 |
children | 92f33e5ecb77 |
files | libfdcore/hooks.c |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/libfdcore/hooks.c Fri Jun 14 12:19:32 2013 +0800 +++ b/libfdcore/hooks.c Fri Jun 14 12:19:58 2013 +0800 @@ -369,15 +369,7 @@ } case HOOK_MESSAGE_ROUTING_ERROR: { - DiamId_t id = NULL; - if (!fd_msg_source_get( msg, &id, NULL )) - id = (DiamId_t)"<error getting source>"; - - if (!id) - id = (DiamId_t)"<local>"; - CHECK_MALLOC_DO(fd_msg_dump_treeview(&buf, &len, NULL, msg, NULL, 0, 1), break); - LOG_E("Routing error: '%s' for the following message:", (char *)other); LOG_SPLIT(FD_LOG_ERROR, " ", buf?:"<error dumping message>", NULL); break;