# HG changeset patch # User Sebastien Decugis # Date 1371709909 -28800 # Node ID cec3e9b579e1041df4e56ecd1458f880228eab67 # Parent 51ea6f4b3f0427133c924e9607bc7526970ee010 Cleanup parameter that has become useless diff -r 51ea6f4b3f04 -r cec3e9b579e1 extensions/dbg_monitor/dbg_monitor.c --- a/extensions/dbg_monitor/dbg_monitor.c Thu Jun 20 14:23:55 2013 +0800 +++ b/extensions/dbg_monitor/dbg_monitor.c Thu Jun 20 14:31:49 2013 +0800 @@ -142,7 +142,7 @@ TRACE_DEBUG(INFO, "[dbg_monitor] Dumping config information"); TRACE_DEBUG(INFO, "%s", fd_conf_dump(&buf, &len, NULL)); TRACE_DEBUG(INFO, "[dbg_monitor] Dumping extensions information"); - TRACE_DEBUG(INFO, "%s", fd_ext_dump(&buf, &len, NULL, 0)); + TRACE_DEBUG(INFO, "%s", fd_ext_dump(&buf, &len, NULL)); TRACE_DEBUG(INFO, "[dbg_monitor] Dumping dictionary information"); TRACE_DEBUG(INFO, "%s", fd_dict_dump(&buf, &len, NULL, fd_g_config->cnf_dict)); free(buf); diff -r 51ea6f4b3f04 -r cec3e9b579e1 include/freeDiameter/libfdcore.h --- a/include/freeDiameter/libfdcore.h Thu Jun 20 14:23:55 2013 +0800 +++ b/include/freeDiameter/libfdcore.h Thu Jun 20 14:31:49 2013 +0800 @@ -830,11 +830,13 @@ /* The "old" FD_EV_DUMP_* events are replaced with direct calls to the following dump functions */ DECLARE_FD_DUMP_PROTOTYPE(fd_conf_dump); + +DECLARE_FD_DUMP_PROTOTYPE(fd_ext_dump); #else /* SWIG */ DECLARE_FD_DUMP_PROTOTYPE_simple(fd_event_trig_dump); DECLARE_FD_DUMP_PROTOTYPE_simple(fd_conf_dump); +DECLARE_FD_DUMP_PROTOTYPE_simple(fd_ext_dump); #endif /* SWIG */ -DECLARE_FD_DUMP_PROTOTYPE(fd_ext_dump, int indent_next); DECLARE_FD_DUMP_PROTOTYPE(fd_servers_dump, int details); DECLARE_FD_DUMP_PROTOTYPE(fd_peer_dump_list, int details); DECLARE_FD_DUMP_PROTOTYPE(fd_peer_dump, struct peer_hdr * p, int details); diff -r 51ea6f4b3f04 -r cec3e9b579e1 libfdcore/core.c --- a/libfdcore/core.c Thu Jun 20 14:23:55 2013 +0800 +++ b/libfdcore/core.c Thu Jun 20 14:31:49 2013 +0800 @@ -255,7 +255,7 @@ LOG_SPLIT(FD_LOG_NOTICE, NULL, b ?: "", NULL); /* Display extensions status */ - b = fd_ext_dump(&buf, &len, NULL, 19); + b = fd_ext_dump(&buf, &len, NULL); LOG_SPLIT(FD_LOG_NOTICE, "Loaded extensions: ", b?:"", NULL); /* Display registered triggers for FDEV_TRIGGER */ diff -r 51ea6f4b3f04 -r cec3e9b579e1 libfdcore/extensions.c --- a/libfdcore/extensions.c Thu Jun 20 14:23:55 2013 +0800 +++ b/libfdcore/extensions.c Thu Jun 20 14:31:49 2013 +0800 @@ -77,7 +77,7 @@ } /* Dump the list */ -DECLARE_FD_DUMP_PROTOTYPE(fd_ext_dump, int indent_next) +DECLARE_FD_DUMP_PROTOTYPE(fd_ext_dump) { struct fd_list * li; FD_DUMP_HANDLE_OFFSET();