mirror of
https://github.com/curl/curl.git
synced 2026-08-26 13:33:33 +03:00
checksrc: move open braces to comply with function declaration style
This commit is contained in:
parent
80e7cfeb87
commit
6832c1d4b2
13 changed files with 78 additions and 65 deletions
|
|
@ -225,7 +225,8 @@ int Curl_http2_ver(char *p, size_t len)
|
|||
https://tools.ietf.org/html/rfc7540#page-77
|
||||
nghttp2_error_code enums are identical.
|
||||
*/
|
||||
const char *Curl_http2_strerror(uint32_t err) {
|
||||
const char *Curl_http2_strerror(uint32_t err)
|
||||
{
|
||||
#ifndef NGHTTP2_HAS_HTTP2_STRERROR
|
||||
const char *str[] = {
|
||||
"NO_ERROR", /* 0x0 */
|
||||
|
|
@ -1578,7 +1579,8 @@ static ssize_t http2_recv(struct connectdata *conn, int sockindex,
|
|||
* Parse the tokens as separated by comma and surrounded by whitespace.
|
||||
* Returns TRUE if found or FALSE if not.
|
||||
*/
|
||||
static bool contains_trailers(const char *p, size_t len) {
|
||||
static bool contains_trailers(const char *p, size_t len)
|
||||
{
|
||||
const char *end = p + len;
|
||||
for(;;) {
|
||||
for(; p != end && (*p == ' ' || *p == '\t'); ++p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue