OSSP CVS Repository

ossp - Check-in [2770]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2770
Date: 2002-Nov-08 12:12:28 (local)
2002-Nov-08 11:12:28 (UTC)
User:mlelstv
Branch:
Comment: more alignments, code cleanup

PR: Submitted by: Reviewed by: Approved by: Obtained from:

Tickets:
Inspections:
Files:
ossp-pkg/sio/sio_hello.c      1.5 -> 1.6     2 inserted, 3 deleted

ossp-pkg/sio/sio_hello.c 1.5 -> 1.6

--- sio_hello.c  2002/11/08 11:10:41     1.5
+++ sio_hello.c  2002/11/08 11:12:28     1.6
@@ -342,11 +342,10 @@
                    memcmp(my->passwd, PASSWD, NPASS) == 0;
             if (!good) {
                 hello_dropsaved(my);
-                if (my->isoutput) {
+                if (isoutput != my->isoutput) {
                     GOTO(BAD, SIO_XSTREAM);
                 } else {
-                    hello_writeeof(my);
-                    GOTO(BAD, SIO_DOWNSTREAM);
+                    GOTO(BAD, SIO_LOOP);
                 }
             } else {
                 hello_restore(my);

CVSTrac 2.0.1