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:
psychon
2009-03-24 18:45:03 +00:00
parent 42e67be22e
commit d31c7dcd86
3 changed files with 25 additions and 11 deletions
+7 -2
View File
@@ -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