OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa.c versions 1.63 and 1.64
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/sa.c 1.63 -> 1.64

--- sa.c 2002/10/30 08:42:16     1.63
+++ sa.c 2002/10/30 09:21:52     1.64
@@ -2064,6 +2064,10 @@
     else
         return SA_RC(SA_ERR_ARG);
 
+    /* flush write buffers */
+    if ((how & SHUT_WR) || (how & SHUT_RDWR))
+        sa_flush(sa);
+
     /* perform shutdown operation on underlying socket */
     if (shutdown(sa->fdSocket, how) == -1)
         return SA_RC(SA_ERR_SYS);

CVSTrac 2.0.1