Commit 50462520 authored by Alessandro Rubini's avatar Alessandro Rubini

diag: initially it's a new state, so we print

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 290c8c8d
......@@ -26,6 +26,7 @@ void posix_main_loop(struct pp_instance *ppi)
* doing anything else but the protocol, this allows extra stuff
* to fit.
*/
ppi->is_new_state = 1;
delay_ms = pp_state_machine(ppi, NULL, 0);
while (1) {
int i;
......
......@@ -28,6 +28,7 @@ void bare_main_loop(struct pp_instance *ppi)
* doing anything else but the protocol, this allows extra stuff
* to fit.
*/
ppi->is_new_state = 1;
delay_ms = pp_state_machine(ppi, NULL, 0);
while (1) {
struct bare_fd_set set;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment