← Commit list

08679d89f5

Daniel Stenberg
Daniel Stenberg
2026-08-03
SUCCESS Duration: 388s

Subject

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

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/multi.c+0 -16
@@ -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);
};