OSSP CVS Repository

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

Check-in Number: 2879
Date: 2002-Nov-24 20:40:59 (local)
2002-Nov-24 19:40:59 (UTC)
User:mlelstv
Branch:
Comment: don't cause shutdown operation for BIOs that are not freed.

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

Tickets:
Inspections:
Files:
ossp-pkg/sio/sio_bio.c      1.3 -> 1.4     2 inserted, 1 deleted

ossp-pkg/sio/sio_bio.c 1.3 -> 1.4

--- sio_bio.c    2002/11/24 19:39:17     1.3
+++ sio_bio.c    2002/11/24 19:40:59     1.4
@@ -562,9 +562,10 @@
         my->bio = NULL;
         my->flush_upper = 1;
         my->state       = UPPER;
+        return SIO_OK;
     }
 
-    return SIO_OK;
+    return SIO_ERR_ARG;
 }
 
 sio_module_t sio_module_bio = {

CVSTrac 2.0.1