# HG changeset patch # User Thomas Klausner # Date 1363282112 -3600 # Node ID 33f18714b1fb7cf8e0b97e8f9501aaefd0133fd9 # Parent 5c564966a754deebe9128af96cf1dadc8da17262 Remove now unnecessary suffix argument from fd_ep_dump_one. diff -r 5c564966a754 -r 33f18714b1fb include/freeDiameter/libfdcore.h --- a/include/freeDiameter/libfdcore.h Thu Mar 14 18:27:39 2013 +0100 +++ b/include/freeDiameter/libfdcore.h Thu Mar 14 18:28:32 2013 +0100 @@ -821,7 +821,7 @@ int fd_ep_filter_family( struct fd_list * list, int af ); int fd_ep_filter_list( struct fd_list * list, struct fd_list * exclude_list ); int fd_ep_clearflags( struct fd_list * list, uint32_t flags ); -void fd_ep_dump_one( char * prefix, struct fd_endpoint * ep, char * suffix ); +void fd_ep_dump_one( char * prefix, struct fd_endpoint * ep ); void fd_ep_dump( int indent, struct fd_list * eps ); diff -r 5c564966a754 -r 33f18714b1fb libfdcore/endpoints.c --- a/libfdcore/endpoints.c Thu Mar 14 18:27:39 2013 +0100 +++ b/libfdcore/endpoints.c Thu Mar 14 18:28:32 2013 +0100 @@ -333,7 +333,7 @@ return 0; } -void fd_ep_dump_one( char * prefix, struct fd_endpoint * ep, char * suffix ) +void fd_ep_dump_one( char * prefix, struct fd_endpoint * ep ) { char buf[1024]; @@ -343,8 +343,7 @@ (ep->flags & EP_FL_DISC) ? "D" : "-", (ep->flags & EP_FL_ADV) ? "A" : "-", (ep->flags & EP_FL_LL) ? "L" : "-", - (ep->flags & EP_FL_PRIMARY) ? "P" : "-", - suffix ?: ""); + (ep->flags & EP_FL_PRIMARY) ? "P" : "-"); } void fd_ep_dump( int indent, struct fd_list * eps ) @@ -353,7 +352,7 @@ for (li = eps->next; li != eps; li = li->next) { struct fd_endpoint * ep = (struct fd_endpoint *)li; fd_log_debug("%*s", indent, ""); - fd_ep_dump_one( NULL, ep, "\n" ); + fd_ep_dump_one( NULL, ep ); } }