Navigation


Changeset 1085:7d7266115a34 in freeDiameter for libfdcore/extensions.c


Ignore:
Timestamp:
May 3, 2013, 8:20:56 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Cleaning of the traces in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/extensions.c

    r1006 r1085  
    7878
    7979/* Dump the list */
    80 void fd_ext_dump(void)
     80DECLARE_FD_DUMP_PROTOTYPE(fd_ext_dump)
    8181{
    8282        struct fd_list * li;
    83        
    84         fd_log_debug("Dumping extensions list :");
     83        size_t o=0;
     84        if (!offset)
     85                offset = &o;
    8586       
    8687        for (li = ext_list.next; li != &ext_list; li = li->next)
    8788        {
    8889                struct fd_ext_info * ext = (struct fd_ext_info *)li;
    89                 fd_log_debug(" - '%s'[%s] is %sloaded", ext->filename, ext->conffile?:"no conf", ext->handler ? "" : "not ");
    90         }
     90                CHECK_MALLOC_DO( fd_dump_extend( FD_DUMP_STD_PARAMS, "{extension}(@%p): '%s'[%s], %sloaded\n", ext, ext->filename, ext->conffile?:"no conf", ext->handler ? "" : "not "), return NULL);
     91        }
     92        return *buf;
    9193}
    9294
Note: See TracChangeset for help on using the changeset viewer.