src/h5core/h5_errorhandling.c

src/include/h5core/h5_errorhandling.h
- h5_error(), h5_warn(), h5_info(): print message if debug-level > 3
This commit is contained in:
2015-09-08 20:48:26 +02:00
parent 47bee153ba
commit a618acf686
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -246,7 +246,7 @@ h5_warn (
const char* fmt,
...
) {
if ((h5_debug_level & 0x3) >= 2) {
if (h5_debug_level >= 2) {
va_list ap;
va_start (ap, fmt);
h5priv_vprintf (stderr, "W", h5_get_funcname(), fmt, ap);
@@ -274,7 +274,7 @@ h5_info (
const char* fmt,
...
) {
if ((h5_debug_level & 0x3) == 3) {
if (h5_debug_level >= 3) {
va_list ap;
va_start (ap, fmt);
h5priv_vprintf (stdout, "I", h5_get_funcname(), fmt, ap);