[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd2] 03/08: perf_replies: corrected messages
From: |
Admin |
Subject: |
[libmicrohttpd2] 03/08: perf_replies: corrected messages |
Date: |
Sat, 14 Jun 2025 19:15:18 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd2.
commit 14eac1f13781129b6d813558d38f6fabeeecbe4d
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
AuthorDate: Sat Jun 14 13:26:50 2025 +0200
perf_replies: corrected messages
---
src/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
index 033f44c..94c5e2e 100644
--- 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]";
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd2] branch master updated (a71f9db -> c46a09d), Admin, 2025/06/14
- [libmicrohttpd2] 02/08: perf_replies: fixed parameter check, Admin, 2025/06/14
- [libmicrohttpd2] 01/08: perf_replies: fixed pseudo-random sequence generation, Admin, 2025/06/14
- [libmicrohttpd2] 04/08: perf_replies: corrected response filler, Admin, 2025/06/14
- [libmicrohttpd2] 03/08: perf_replies: corrected messages,
Admin <=
- [libmicrohttpd2] 05/08: mhd_sys_options: added workaround for some broken W32 compilers, Admin, 2025/06/14
- [libmicrohttpd2] 06/08: mhd_sys_options: fixed formatting, Admin, 2025/06/14
- [libmicrohttpd2] 08/08: configure: added more release linker flags, Admin, 2025/06/14
- [libmicrohttpd2] 07/08: perf_replies: minor readability improvement, Admin, 2025/06/14