diff --git a/lib/nodes/test_rtt.cpp b/lib/nodes/test_rtt.cpp index f969db2d2..4d19ea396 100644 --- a/lib/nodes/test_rtt.cpp +++ b/lib/nodes/test_rtt.cpp @@ -101,7 +101,7 @@ int test_rtt_prepare(struct node *n) max_values = c->values; c->filename_formatted = (char *) alloc(NAME_MAX); - + strftime(c->filename_formatted, NAME_MAX, c->filename, &tm); } @@ -392,7 +392,7 @@ int test_rtt_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned if ((unsigned) t->counter >= c->limit) { info("Stopping case #%d", t->current); - + t->counter = -1; if (t->cooldown) { diff --git a/lib/path_source.cpp b/lib/path_source.cpp index d65649cfd..a306c2a92 100644 --- a/lib/path_source.cpp +++ b/lib/path_source.cpp @@ -151,7 +151,7 @@ int path_source_read(struct path_source *ps, struct path *p, int i) #endif if (p->mask.test(i)) { - /* Check if we received an update from all nodes/ */ + /* Check if we received an update from all nodes */ if ((p->mode == PATH_MODE_ANY) || (p->mode == PATH_MODE_ALL && p->mask == p->received)) { path_destination_enqueue(p, muxed_smps, toenqueue);