rollback
This commit is contained in:
parent
66ab5a8ca8
commit
ec3391f531
|
@ -23,29 +23,6 @@ static void s6a_hook_cb_tree(enum fd_hook_type type, struct msg * msg,
|
|||
if (s6a_hook_user_handler_instance)
|
||||
s6a_hook_user_handler_instance(type, msg, peer, other, pmd, regdata);
|
||||
|
||||
switch(type) {
|
||||
case HOOK_PEER_CONNECT_SUCCESS:
|
||||
{
|
||||
char protobuf[40];
|
||||
if (peer) {
|
||||
CHECK_FCT_DO(fd_peer_cnx_proto_info(peer, protobuf, sizeof(protobuf)), break );
|
||||
} else {
|
||||
protobuf[0] = '-';
|
||||
protobuf[1] = '\0';
|
||||
}
|
||||
d_info("CONNECTED TO '%s' (%s):", peer_name, protobuf);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (TRACE_MODULE < 3)
|
||||
{
|
||||
pthread_mutex_unlock(&mtx);
|
||||
return;
|
||||
}
|
||||
|
||||
if (msg) {
|
||||
CHECK_MALLOC_DO( fd_msg_dump_treeview(&buf, &len, NULL, msg, fd_g_config->cnf_dict, (type == HOOK_MESSAGE_PARSING_ERROR) ? 0 : 1, 1),
|
||||
{ LOG_E("Error while dumping a message"); pthread_mutex_unlock(&mtx); return; } );
|
||||
|
|
|
@ -633,3 +633,34 @@
|
|||
fun:app_initialize
|
||||
fun:test_initialize
|
||||
}
|
||||
{
|
||||
<insert_a_suppression_name_here>
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
fun:malloc
|
||||
fun:fd_dump_extend
|
||||
obj:/usr/lib/libfdproto.so.1.2.0
|
||||
obj:/usr/lib/libfdproto.so.1.2.0
|
||||
fun:s6a_hook_cb_tree
|
||||
fun:fd_hook_call
|
||||
obj:/usr/lib/libfdcore.so.1.2.0
|
||||
fun:fd_out_send
|
||||
fun:fd_p_ce_handle_newcnx
|
||||
obj:/usr/lib/libfdcore.so.1.2.0
|
||||
fun:start_thread
|
||||
fun:clone
|
||||
}
|
||||
{
|
||||
<insert_a_suppression_name_here>
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
fun:malloc
|
||||
fun:fd_dump_extend
|
||||
obj:/usr/lib/libfdproto.so.1.2.0
|
||||
obj:/usr/lib/libfdproto.so.1.2.0
|
||||
fun:s6a_hook_cb_tree
|
||||
fun:fd_hook_call
|
||||
obj:/usr/lib/libfdcore.so.1.2.0
|
||||
fun:start_thread
|
||||
fun:clone
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue