Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxcommon/zbxgetopt.c')
-rw-r--r--src/libs/zbxcommon/zbxgetopt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/zbxcommon/zbxgetopt.c b/src/libs/zbxcommon/zbxgetopt.c
index 35ffde5cab0..55ba7e558d5 100644
--- a/src/libs/zbxcommon/zbxgetopt.c
+++ b/src/libs/zbxcommon/zbxgetopt.c
@@ -221,7 +221,7 @@ static void exchange (char **argv)
argument, it follows the zbx_option name in the same ARGV-element, separated
from the zbx_option name by a `=', or else the in next ARGV-element.
When `getopt' finds a long-named zbx_option, it returns 0 if that zbx_option's
- `flag' field is nonzero, the value of the zbx_option's `val' field
+ `flag' field is non-zero, the value of the zbx_option's `val' field
if the `flag' field is zero.
LONGOPTS is a vector of `struct zbx_option' terminated by an
@@ -231,7 +231,7 @@ static void exchange (char **argv)
It is only valid when a long-named zbx_option has been found by the most
recent call.
- If LONG_ONLY is nonzero, '-' as well as '--' can introduce
+ If LONG_ONLY is non-zero, '-' as well as '--' can introduce
long-named options. */
static int zbx_getopt_internal (int argc, char **argv, const char *optstring,
@@ -373,7 +373,7 @@ static int zbx_getopt_internal (int argc, char **argv, const char *optstring,
int needexact = 0;
#if ON
- /* allow `--zbx_option#value' because you cannout assign a '='
+ /* allow `--zbx_option#value' because you cannot assign a '='
to an environment variable under DOS command.com */
while (*s && *s != '=' && * s != '#')
s++;