Merge pull request #37 from jwilk/total-types

Fixed printf directives for tx/rx counters
This commit is contained in:
Martin Lund 2016-05-21 16:47:35 +02:00
commit 3fe6d495d1

View file

@ -102,7 +102,7 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c
case KEY_S: case KEY_S:
/* Show tx/rx statistics upon ctrl-t s sequence */ /* Show tx/rx statistics upon ctrl-t s sequence */
tio_printf("Statistics:"); tio_printf("Statistics:");
tio_printf(" Sent %ld bytes, received %ld bytes", tx_total, rx_total); tio_printf(" Sent %lu bytes, received %lu bytes", tx_total, rx_total);
*forward = false; *forward = false;
break; break;
default: default: