statsproxy.c
static void
addNewStats(struct uri_entry *uri_entry, struct stats_entries *new_stats)
{
    struct stats_entry *entry;

    while (!TAILQ_EMPTY(new_stats)) {
        entry = TAILQ_FIRST(new_stats);
        TAILQ_REMOVE(new_stats, entry, next);
        TAILQ_INSERT_TAIL(&uri_entry->stats, entry, next);
    }
}
// add new stats to the uri
add new stats to the uri
add new stats to the uri
static void
addNewStats(struct uri_entry *uri_entry, struct stats_entries *new_stats)
{
    struct stats_entry *entry;
    while (!TAILQ_EMPTY(new_stats)) {
        entry = TAILQ_FIRST(new_stats);
        TAILQ_REMOVE(new_stats, entry, next);
        TAILQ_INSERT_TAIL(&uri_entry->stats, entry, next);
    }
}
static void addNewStats ( struct uri_entry * uri_entry , struct stats_entries * new_stats ) { struct stats_entry * entry ; while ( ! TAILQ_EMPTY ( new_stats ) ) { entry = TAILQ_FIRST ( new_stats ) ; TAILQ_REMOVE ( new_stats , entry , next ) ; TAILQ_INSERT_TAIL ( & uri_entry -> stats , entry , next ) ; } }
add new stats to the uri
add new stats to the uri