diff --git a/lib/formats/csv.cpp b/lib/formats/csv.cpp index 2960e5b1a..481c0edc6 100644 --- a/lib/formats/csv.cpp +++ b/lib/formats/csv.cpp @@ -219,14 +219,14 @@ __attribute__((constructor(110))) static void UNIQUE(__ctor)() { } __attribute__((destructor(110))) static void UNIQUE(__dtor)() { - if (plugins.state != STATE_DESTROYED) - vlist_remove_all(&plugins, &p1); + if (plugins.state != STATE_DESTROYED) + vlist_remove_all(&plugins, &p1); } static struct plugin p2; __attribute__((constructor(110))) static void UNIQUE(__ctor)() { - if (plugins.state == STATE_DESTROYED) - vlist_init(&plugins); + if (plugins.state == STATE_DESTROYED) + vlist_init(&plugins); p2.name = "csv"; p2.description = "Comma-separated values"; @@ -243,6 +243,6 @@ __attribute__((constructor(110))) static void UNIQUE(__ctor)() { } __attribute__((destructor(110))) static void UNIQUE(__dtor)() { - if (plugins.state != STATE_DESTROYED) - vlist_remove_all(&plugins, &p2); + if (plugins.state != STATE_DESTROYED) + vlist_remove_all(&plugins, &p2); } diff --git a/lib/stats.cpp b/lib/stats.cpp index 3162a9630..c930571fb 100644 --- a/lib/stats.cpp +++ b/lib/stats.cpp @@ -40,7 +40,7 @@ struct stats_metric_description stats_metrics[] = { { "gap_sent", STATS_METRIC_GAP_SAMPLE, "seconds", "Inter-message timestamps (as sent by remote)" }, { "gap_received", STATS_METRIC_GAP_RECEIVED, "seconds", "Inter-message arrival time (as received by this instance)" }, { "owd", STATS_METRIC_OWD, "seconds", "One-way-delay (OWD) of received messages" }, - { "age", STATS_METRIC_AGE, "seconds", "Processing time of packets within the from receive to sent" }, + { "age", STATS_METRIC_AGE, "seconds", "Processing time of packets within the from receive to sent" }, { "rtp.loss_fraction", STATS_METRIC_RTP_LOSS_FRACTION, "percent", "Fraction lost since last RTP SR/RR." }, { "rtp.pkts_lost", STATS_METRIC_RTP_PKTS_LOST, "packets", "Cumulative number of packtes lost" }, { "rtp.jitter", STATS_METRIC_RTP_JITTER, "seconds", "Interarrival jitter" },