mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:43:39 +03:00
tidy-up: more whitespace/indent, comments
Also a couple of minor formatting updates in the root `CMakeLists.txt`. One swap to `#ifdef`. Closes #17929
This commit is contained in:
parent
63a8167f3e
commit
4d977fe552
82 changed files with 351 additions and 378 deletions
|
|
@ -71,14 +71,14 @@ struct mev_sh_entry {
|
|||
static size_t mev_sh_entry_hash(void *key, size_t key_length, size_t slots_num)
|
||||
{
|
||||
curl_socket_t fd = *((curl_socket_t *) key);
|
||||
(void) key_length;
|
||||
(void)key_length;
|
||||
return (fd % (curl_socket_t)slots_num);
|
||||
}
|
||||
|
||||
static size_t mev_sh_entry_compare(void *k1, size_t k1_len,
|
||||
void *k2, size_t k2_len)
|
||||
{
|
||||
(void) k1_len; (void) k2_len;
|
||||
(void)k1_len; (void)k2_len;
|
||||
return (*((curl_socket_t *) k1)) == (*((curl_socket_t *) k2));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue