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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user