httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_io.c
Date Tue, 31 Jul 2001 16:41:13 GMT
wrowe       01/07/31 09:41:13

  Modified:    modules/ssl ssl_engine_io.c
  Log:
    Clean up some emits
  
  Revision  Changes    Path
  1.11      +3 -4      httpd-2.0/modules/ssl/ssl_engine_io.c
  
  Index: ssl_engine_io.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_io.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ssl_engine_io.c	2001/07/31 03:04:55	1.10
  +++ ssl_engine_io.c	2001/07/31 16:41:13	1.11
  @@ -280,10 +280,9 @@
   	    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);
   
  
  
  

Mime
View raw message