mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03: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
|
|
@ -34,7 +34,7 @@
|
|||
* zero : when i is equal to j
|
||||
* positive when : when i is larger than j
|
||||
*/
|
||||
#define compare(i,j) curlx_timediff_us(i,j)
|
||||
#define compare(i, j) curlx_timediff_us(i, j)
|
||||
|
||||
/*
|
||||
* Splay using the key i (which may or may not be in the tree.) The starting
|
||||
|
|
@ -134,7 +134,6 @@ struct Curl_tree *Curl_splayinsert(struct curltime i,
|
|||
node->smaller = t->smaller;
|
||||
node->larger = t;
|
||||
t->smaller = NULL;
|
||||
|
||||
}
|
||||
else {
|
||||
node->larger = t->larger;
|
||||
|
|
@ -156,7 +155,7 @@ struct Curl_tree *Curl_splaygetbest(struct curltime i,
|
|||
struct Curl_tree *t,
|
||||
struct Curl_tree **removed)
|
||||
{
|
||||
static const struct curltime tv_zero = {0, 0};
|
||||
static const struct curltime tv_zero = { 0, 0 };
|
||||
struct Curl_tree *x;
|
||||
|
||||
if(!t) {
|
||||
|
|
@ -197,7 +196,6 @@ struct Curl_tree *Curl_splaygetbest(struct curltime i,
|
|||
return x;
|
||||
}
|
||||
|
||||
|
||||
/* Deletes the node we point out from the tree if it is there. Stores a
|
||||
* pointer to the new resulting tree in 'newroot'.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue