ossp-pkg/sio/sio_hello.c 1.3 -> 1.4
--- sio_hello.c 2002/11/05 17:20:22 1.3
+++ sio_hello.c 2002/11/08 10:34:24 1.4
@@ -254,22 +254,12 @@
if (isoutput) {
my->isoutput = 1;
hello_saveoutput(my);
- GOTO(PROMPTING, SIO_UPSTREAM);
- /*
- * FALL THROUGH to next state
- *
- * XXX = fall through is ugly
- * XXX + efficient, no extra pass through scheduler
- * XXX - scheduler doesn't support loops yet, we
- * could simulate this with extra states that
- * ping-pong back to the "right" side (ugh!)
- */
+ GOTO(PROMPTING, SIO_LOOP);
} else {
my->isoutput = 0;
GOTO(PROMPTING, SIO_XSTREAM);
- break;
}
- /* FALL THROUGH */
+ break;
case PROMPTING:
|
|