mirror of
https://github.com/znc/znc.git
synced 2026-06-28 22:11:14 +02:00
Add znc --debug / znc -g
This enables the debug output you get with --enable-debug on --disable-debug builds. The behaviour if znc was compiled with --disable-debug isn't changed. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1442 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -24,7 +24,13 @@
|
||||
|
||||
using std::stringstream;
|
||||
|
||||
bool CUtils::stdoutIsTTY;
|
||||
bool CUtils::stdoutIsTTY = true;
|
||||
bool CUtils::debug =
|
||||
#ifdef _DEBUG
|
||||
true;
|
||||
#else
|
||||
false;
|
||||
#endif
|
||||
|
||||
CUtils::CUtils() {}
|
||||
CUtils::~CUtils() {}
|
||||
@@ -553,4 +559,3 @@ CString CBlowfish::Crypt(const CString & sData) {
|
||||
}
|
||||
|
||||
#endif // HAVE_LIBSSL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user