multi: remove #if 0'ed code that uses old struct

Closes #22467
This commit is contained in:
Daniel Stenberg 2026-08-03 10:37:28 +02:00
parent a946d40822
commit 08679d89f5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -578,22 +578,6 @@ CURLMcode curl_multi_add_handle(CURLM *m, CURL *curl)
return mresult;
}
#if 0
/* Debug-function, used like this:
*
* Curl_hash_print(&multi->sockhash, debug_print_sock_hash);
*
* Enable the hash print function first by editing hash.c
*/
static void debug_print_sock_hash(void *p)
{
struct Curl_sh_entry *sh = (struct Curl_sh_entry *)p;
curl_mfprintf(stderr, " [readers %u][writers %u]",
sh->readers, sh->writers);
}
#endif
struct multi_done_ctx {
BIT(premature);
};