Skip to content

Commit 42fe78e

Browse files
print currrent version
1 parent c5b3dbf commit 42fe78e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

trunk/src/app/srs_app_http_api.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -1188,9 +1188,10 @@ srs_error_t SrsGoApiValgrind::cycle()
11881188
#if defined(VALGRIND_DO_NEW_LEAK_CHECK)
11891189
VALGRIND_DO_NEW_LEAK_CHECK;
11901190
#else
1191-
srs_warn("valgrind?check=new is not supported in current Valgrind version,"
1191+
srs_warn("valgrind?check=new is not supported in current Valgrind version(%d.%d),"
11921192
"please upgrade to 3.22 or higher. "
1193-
"Fallback to valgrind?check=full");
1193+
"Fallback to valgrind?check=full",
1194+
__VALGRIND_MAJOR__, __VALGRIND_MINOR__);
11941195
VALGRIND_DO_LEAK_CHECK;
11951196
#endif
11961197
}

0 commit comments

Comments
 (0)