mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:53:34 +03:00
lib: fix formatting nits (part 3)
From `lib/h` to `lib/w`. part 1:47a1ab2ebe#19764 part 2:86b346443b#19800 Closes #19811
This commit is contained in:
parent
dc8c0d54a5
commit
c3b030b860
102 changed files with 2001 additions and 2226 deletions
|
|
@ -33,7 +33,7 @@
|
|||
#include "urlapi-int.h"
|
||||
|
||||
|
||||
#define H1_MAX_URL_LEN (8*1024)
|
||||
#define H1_MAX_URL_LEN (8 * 1024)
|
||||
|
||||
void Curl_h1_req_parse_init(struct h1_req_parser *parser, size_t max_line_len)
|
||||
{
|
||||
|
|
@ -227,8 +227,8 @@ static CURLcode start_req(struct h1_req_parser *parser,
|
|||
result = CURLE_OUT_OF_MEMORY;
|
||||
goto out;
|
||||
}
|
||||
url_options = (CURLU_NON_SUPPORT_SCHEME|
|
||||
CURLU_PATH_AS_IS|
|
||||
url_options = (CURLU_NON_SUPPORT_SCHEME |
|
||||
CURLU_PATH_AS_IS |
|
||||
CURLU_NO_DEFAULT_PORT);
|
||||
if(!(options & H1_PARSE_OPT_STRICT))
|
||||
url_options |= CURLU_ALLOW_SPACE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue