* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: connection.c,v 1.36.4.1 2001/01/09 22:52:53 bwelling Exp $ */
+/* $Id: connection.c,v 1.36.4.2 2001/02/07 02:41:47 gson Exp $ */
/* Principal Author: DCL */
* Check the validity of the assumption that partial
* writes are not done.
*/
- INSIST(sent_bytes == connection->out_bytes &&
- sent_bytes == isc_bufferlist_usedcount(&bufferlist));
+ if (socketevent->result == ISC_R_SUCCESS)
+ INSIST(sent_bytes == connection->out_bytes &&
+ sent_bytes == isc_bufferlist_usedcount(&bufferlist));
/*
* Acquire the wait_lock before proceeding, to guarantee that