From: William A. Rowe Jr Date: Tue, 31 Jul 2001 16:41:13 +0000 (+0000) Subject: Clean up some emits X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f99a153e675458834dfb3bc7843f262a04a62e3;p=thirdparty%2Fapache%2Fhttpd.git Clean up some emits git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@89832 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index bdc0a2c8944..cc7d069cc2d 100644 --- a/ssl_engine_io.c +++ b/ssl_engine_io.c @@ -280,10 +280,9 @@ eMode = AP_MODE_BLOCKING; return APR_SUCCESS; } - assert(len > 0); - - n = BIO_write (pRec->pbioRead, data, len); - assert(n == len); + n = BIO_write (pRec->pbioRead, data, len); + + assert(n >= 0 && (apr_size_t)n == len); ssl_hook_process_connection (pRec);