1
1

Changes to VT: Fixed infinite recursion bug if the verbosity level (env. VT_VERBOSE) is higher or equal to 2

This commit was SVN r28624.
Этот коммит содержится в:
Matthias Jurenz 2013-06-13 07:33:22 +00:00
родитель 34fb0712c4
Коммит ebf441ba4b

Просмотреть файл

@ -935,13 +935,13 @@ int vt_env_verbose()
tmp = getenv("VT_VERBOSE");
if (tmp != NULL && strlen(tmp) > 0)
{
vt_cntl_msg(2, "VT_VERBOSE=%s", tmp);
verbose = atoi(tmp);
if (verbose < 0)
verbose = 0;
else if (verbose > VT_MAX_VERBOSE_LEVEL)
verbose = VT_MAX_VERBOSE_LEVEL;
vt_cntl_msg(2, "VT_VERBOSE=%s", tmp);
}
else
{