projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
6a20638
)
fix assertion
RELEASE_2_2_1
author
Michael Wallner
<mike@php.net>
Sat, 7 Feb 2015 11:25:56 +0000
(12:25 +0100)
committer
Michael Wallner
<mike@php.net>
Sat, 7 Feb 2015 11:25:56 +0000
(12:25 +0100)
php_http_buffer.c
patch
|
blob
|
history
diff --git
a/php_http_buffer.c
b/php_http_buffer.c
index 00ec4b4182d034236b8cf56e6463d6d3226aac4d..e24a4e18baa2e4d7e7a6c8cbdbf7d7c7967fc31b 100644
(file)
--- a/
php_http_buffer.c
+++ b/
php_http_buffer.c
@@
-74,7
+74,7
@@
PHP_HTTP_BUFFER_API size_t php_http_buffer_resize_ex(php_http_buffer_t *buf, siz
PHP_HTTP_BUFFER_API char *php_http_buffer_account(php_http_buffer_t *buf, size_t to_account)
{
- assert(to_account < buf->free);
+ assert(to_account <
=
buf->free);
buf->free -= to_account;
buf->used += to_account;