Navigation


Changeset 976:33f18714b1fb in freeDiameter


Ignore:
Timestamp:
Mar 15, 2013, 2:28:32 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove now unnecessary suffix argument from fd_ep_dump_one.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r972 r976  
    822822int fd_ep_filter_list( struct fd_list * list, struct fd_list * exclude_list );
    823823int fd_ep_clearflags( struct fd_list * list, uint32_t flags );
    824 void fd_ep_dump_one( char * prefix, struct fd_endpoint * ep, char * suffix );
     824void fd_ep_dump_one( char * prefix, struct fd_endpoint * ep );
    825825void fd_ep_dump( int indent, struct fd_list * eps );
    826826
  • libfdcore/endpoints.c

    r974 r976  
    334334}
    335335
    336 void fd_ep_dump_one( char * prefix, struct fd_endpoint * ep, char * suffix )
     336void fd_ep_dump_one( char * prefix, struct fd_endpoint * ep )
    337337{
    338338        char buf[1024];
     
    344344                        (ep->flags & EP_FL_ADV)         ? "A" : "-",
    345345                        (ep->flags & EP_FL_LL)          ? "L" : "-",
    346                         (ep->flags & EP_FL_PRIMARY)     ? "P" : "-",
    347                         suffix ?: "");
     346                        (ep->flags & EP_FL_PRIMARY)     ? "P" : "-");
    348347}
    349348
     
    354353                struct fd_endpoint * ep = (struct fd_endpoint *)li;
    355354                fd_log_debug("%*s", indent, "");
    356                 fd_ep_dump_one( NULL, ep, "\n" );
    357         }
    358 }
    359        
     355                fd_ep_dump_one( NULL, ep );
     356        }
     357}
     358       
Note: See TracChangeset for help on using the changeset viewer.