crappy patch
This commit is contained in:
parent
13ae3a9129
commit
2e444a4978
18
jconf.cpp
18
jconf.cpp
|
@ -28,15 +28,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef CONF_NO_TLS
|
||||
if(prv->configValues[bTlsMode]->GetBool())
|
||||
{
|
||||
printer::inst()->print_msg(L0,
|
||||
"Invalid config file. TLS enabled while the application has been compiled without TLS support.");
|
||||
return false;
|
||||
}
|
||||
#endif // CONF_NO_TLS
|
||||
|
||||
#ifdef _WIN32
|
||||
#define strcasecmp _stricmp
|
||||
#include <intrin.h>
|
||||
|
@ -391,6 +382,15 @@ bool jconf::parse_config(const char* sFilename)
|
|||
return false;
|
||||
}
|
||||
|
||||
#ifdef CONF_NO_TLS
|
||||
if(prv->configValues[bTlsMode]->GetBool())
|
||||
{
|
||||
printer::inst()->print_msg(L0,
|
||||
"Invalid config file. TLS enabled while the application has been compiled without TLS support.");
|
||||
return false;
|
||||
}
|
||||
#endif // CONF_NO_TLS
|
||||
|
||||
printer::inst()->set_verbose_level(prv->configValues[iVerboseLevel]->GetUint64());
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue