better verbose display

This commit is contained in:
Tonton Th 2019-02-22 17:08:16 +01:00
parent 2024a1b342
commit faca30264b

View File

@ -35,6 +35,13 @@ for (count=0; count<iters; count++) {
count, iters, foo); */
fprintf(stderr, "%s\n", ligne);
}
//
if (verbosity > 1)
{
p_tms = localtime(&temps);
(void)strftime(ligne, 19, "%H:%M:%S", p_tms);
fprintf(stderr, "%6d %s\n", count, ligne);
}
foo = parse4values(ligne, 'T', datas);
//
if (foo >= 0) {
@ -47,13 +54,6 @@ for (count=0; count<iters; count++) {
else {
fprintf(stderr, "%s: parse -> %d\n", __func__, foo);
}
//
if (verbosity > 1)
{
p_tms = localtime(&temps);
(void)strftime(ligne, 19, "%H:%M:%S", p_tms);
fprintf(stderr, "\t%s\n", ligne);
}
}
return 0;
}