mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
lib/src: white space edits to comply better with code style
... as checksrc now finds and complains about these. Closes #14921
This commit is contained in:
parent
a57b45c386
commit
fbf5d507ce
128 changed files with 854 additions and 837 deletions
|
|
@ -141,7 +141,7 @@ void Curl_dynhds_set_opts(struct dynhds *dynhds, int opts)
|
|||
struct dynhds_entry *Curl_dynhds_getn(struct dynhds *dynhds, size_t n)
|
||||
{
|
||||
DEBUGASSERT(dynhds);
|
||||
return (n < dynhds->hds_len)? dynhds->hds[n] : NULL;
|
||||
return (n < dynhds->hds_len) ? dynhds->hds[n] : NULL;
|
||||
}
|
||||
|
||||
struct dynhds_entry *Curl_dynhds_get(struct dynhds *dynhds, const char *name,
|
||||
|
|
@ -272,7 +272,7 @@ CURLcode Curl_dynhds_h1_add_line(struct dynhds *dynhds,
|
|||
|
||||
CURLcode Curl_dynhds_h1_cadd_line(struct dynhds *dynhds, const char *line)
|
||||
{
|
||||
return Curl_dynhds_h1_add_line(dynhds, line, line? strlen(line) : 0);
|
||||
return Curl_dynhds_h1_add_line(dynhds, line, line ? strlen(line) : 0);
|
||||
}
|
||||
|
||||
#ifdef UNITTESTS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue