diff options
| author | Pieter Wuille <[email protected]> | 2012-08-21 07:07:51 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-08-21 07:07:51 -0700 |
| commit | 143acc7672a2b6c863af3ee8a023d640b7e9527a (patch) | |
| tree | a220cc45484db03e80853cc4f3494045af62b7d0 /src/util.cpp | |
| parent | Merge pull request #1690 from gavinandresen/signrawtx_null (diff) | |
| parent | Suppress output when running unit tests. (diff) | |
| download | discoin-143acc7672a2b6c863af3ee8a023d640b7e9527a.tar.xz discoin-143acc7672a2b6c863af3ee8a023d640b7e9527a.zip | |
Merge pull request #1687 from gavinandresen/quietunit
Suppress output when running unit tests.
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index c9654989a..69cc5f342 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -204,7 +204,7 @@ inline int OutputDebugStringF(const char* pszFormat, ...) ret = vprintf(pszFormat, arg_ptr); va_end(arg_ptr); } - else + else if (!fPrintToDebugger) { // print to debug.log static FILE* fileout = NULL; |