X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_api.h;h=826f6cd198572b66b0192f8c26f46e431513f0ea;hp=412f37d71121a6d5cce309280e73e5e589937e29;hb=fc42cf454f14d7ddd13d34a7b6add61de1bdd1a3;hpb=4cd69179bad2a35d9ce2bf182c5bd400475fe7e2 diff --git a/php_http_api.h b/php_http_api.h index 412f37d..826f6cd 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -84,7 +84,7 @@ static inline const char *_http_locate_body(const char *message) } #define http_locate_eol _http_locate_eol -static inline const char *_http_locate_eol(const char *line, size_t *eol_len) +static inline const char *_http_locate_eol(const char *line, int *eol_len) { const char *eol = strpbrk(line, "\r\n"); @@ -129,7 +129,6 @@ static inline zval *_convert_to_type_ex(int type, zval *z) return z; } -#define zval_set_type(z, t) #endif