libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit 14eac1f13781129b6d813558d38f6fabeeecbe4d
parent 993b448f157180330f0611286c310d7b00a70dea
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Sat, 14 Jun 2025 13:26:50 +0200

perf_replies: corrected messages

Diffstat:
Msrc/tools/perf_replies.c | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/tools/perf_replies.c b/src/tools/perf_replies.c @@ -320,13 +320,13 @@ show_help (void) printf ("Usage: %s [OPTIONS] [PORT_NUMBER]\n", self_name); printf ("Start MHD2-based web-server optimised for fast replies.\n"); printf ("\n"); - printf ("Threads options (mutually exclusive):\n"); + printf ("Threading options (mutually exclusive):\n"); printf (" -A, --all-cpus use all available CPU cores (for \n" " testing with remote client)\n"); printf (" -t NUM, --threads=NUM use NUM threads\n"); #if 0 /* disabled code */ printf (" -P, --thread-per-conn use thread-per-connection mode,\n" - " the number of threads are limited only\n" + " the number of threads is limited only\n" " by the number of connection\n"); #endif /* disabled code */ printf ("\n"); @@ -369,7 +369,7 @@ show_help (void) if ((MHD_NO == mhdl_info.v_types_sockets_polling.func_select) && (MHD_NO == mhdl_info.v_types_sockets_polling.func_poll) && (MHD_NO == mhdl_info.v_types_sockets_polling.tech_epoll)) - fprintf (stderr, "No internal sockets polling function available!\n"); + fprintf (stderr, "No internal sockets polling function is available!\n"); } @@ -1801,12 +1801,12 @@ print_perf_warnings (void) newline_needed |= ! 0; #endif /* _DEBUG */ #if defined(__GNUC__) && ! defined (__OPTIMIZE__) - fprintf (stderr, "WARNING: The tools is compiled without compiler " + fprintf (stderr, "WARNING: This tool is compiled without compiler " "optimisations enabled, the performance is suboptimal.\n"); newline_needed |= ! 0; #endif /* __GNUC__ && ! __OPTIMIZE__ */ #if defined(__GNUC__) && defined (__OPTIMIZE_SIZE__) - fprintf (stderr, "WARNING: The tools is compiled with size-optimisations, " + fprintf (stderr, "WARNING: This tool is compiled with size-optimisations, " "the performance is suboptimal.\n"); newline_needed |= ! 0; #endif /* __GNUC__ && ! __OPTIMIZE__ */ @@ -1818,7 +1818,7 @@ print_perf_warnings (void) if (MHD_NO == mhdl_info.v_is_non_debug_bool) { fprintf (stderr, "WARNING: The libmicrohttpd2 library is compiled with " - "debug asserts enabled, the performance is suboptimal.\n"); + "debug asserts enabled, performance is suboptimal.\n"); newline_needed |= ! 0; } } @@ -1850,7 +1850,7 @@ get_mhd_poll_func_name (struct MHD_Daemon *d) default: break; } - return "[unkonwn]"; + return "[unknown]"; }