1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

Change ap_bread's interface to no longer require errno.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84073 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Manoj Kasichainula
1999-10-30 02:06:34 +00:00
parent 080f230492
commit d74bab7548
3 changed files with 27 additions and 18 deletions

View File

@@ -39,7 +39,8 @@ static int process_echo_connection(conn_rec *c)
for( ; ; )
{
int w;
int r=ap_bread(c->client,buf,sizeof buf);
int r;
(void) ap_bread(c->client,buf,sizeof buf,&r);
if(r <= 0)
break;
w=ap_bwrite(c->client,buf,r);