X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_api.h;h=826f6cd198572b66b0192f8c26f46e431513f0ea;hp=fc34e87a1afeaf5b08d0fa4c6deb15e5b481d49b;hb=dd18f054d481e2d24f766db8f36e8e721950d68c;hpb=bb27380dd3b232aa0d0c7b8a40dabf2ac1066c34 diff --git a/php_http_api.h b/php_http_api.h index fc34e87..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");