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:
909134d
)
* return length directly in curl cb
author
Michael Wallner
<mike@php.net>
Wed, 13 Apr 2005 15:15:46 +0000
(15:15 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 13 Apr 2005 15:15:46 +0000
(15:15 +0000)
http_curl_api.c
patch
|
blob
|
history
diff --git
a/http_curl_api.c
b/http_curl_api.c
index e94e5dc732d5446e87022f22f4fc1ff2c7491541..1da840cdffbfbc8ecec2ea4bb22bd6aaa6cfbc77 100644
(file)
--- a/
http_curl_api.c
+++ b/
http_curl_api.c
@@
-105,8
+105,7
@@
static inline char *_http_curl_copystr(const char *str TSRMLS_DC)
/* {{{ static size_t http_curl_callback(char *, size_t, size_t, void *) */
static size_t http_curl_callback(char *buf, size_t len, size_t n, void *s)
{
- phpstr_append(PHPSTR(s), buf, len *= n);
- return len;
+ return phpstr_append(PHPSTR(s), buf, len *= n);
}
/* }}} */