mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Return the number of bytes consumed, not the number of bytes left.
Suggested by: Brian Havard <brianh@kheldar.apana.org.au>
This commit is contained in:
parent
49d6f53007
commit
d19fd6a0ad
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ php_apache_sapi_ub_write(const char *str, uint str_length TSRMLS_DC)
|
||||||
php_handle_aborted_connection();
|
php_handle_aborted_connection();
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0; /* we wrote everything, we promise! */
|
return str_length; /* we always consume all the data passed to us. */
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue