search for: cookie_len

Displaying 2 results from an estimated 2 matches for "cookie_len".

2015 Feb 10
0
[PATCH 2/6] pxe: fix truncation warning
.../pxe/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/fs/pxe/http.c b/core/fs/pxe/http.c index 0768c10..bd18f3c 100644 --- a/core/fs/pxe/http.c +++ b/core/fs/pxe/http.c @@ -50,7 +50,7 @@ static bool append_ch(char *str, size_t size, size_t *pos, int ch) static size_t cookie_len, header_len; static char *cookie_buf, *header_buf; -__export uint32_t SendCookies = -1UL; /* Send all cookies */ +__export uint32_t SendCookies = UINT_MAX; /* Send all cookies */ static size_t http_do_bake_cookies(char *q) { -- 2.3.0
2015 Feb 10
6
[PATCH 0/6] fix some compiler warnings
These patches fix a few compiler warnings. Tested on top of commit aee0dc5565711ef5be7c30fb5fc1c5f3f98db09f Jonathan Boeing (6): Use z width specifier when printing size_t variable pxe: fix truncation warning gpllib: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse com32/gpllib/dmi/dmi.c | 24 +++---