doc and messages

This commit is contained in:
Jean-Francois Dockes
2012-10-04 17:03:46 +02:00
parent d942b44785
commit 770e3844fa
3 changed files with 312 additions and 151 deletions
+1 -5
View File
@@ -39,10 +39,6 @@
using namespace std;
#endif // NO_NAMESPACES
#ifndef MIN
#define MIN(A,B) ((A)<(B) ? (A) : (B))
#endif
#undef DEBUG
#ifdef DEBUG
#define LOGDEB(X) fprintf X
@@ -276,7 +272,7 @@ int ConfSimple::set(const std::string &nm, const std::string &value,
{
if (status != STATUS_RW)
return 0;
LOGDEB2(("ConfSimple::set [%s]:[%s] -> [%s]\n", sk.c_str(),
LOGDEB((stderr, "ConfSimple::set [%s]:[%s] -> [%s]\n", sk.c_str(),
nm.c_str(), value.c_str()));
if (!i_set(nm, value, sk))
return 0;