#include "webserver.h"
#include "groupdav.h"
+#ifdef DBG_PREFS_HASH
inline const char *PrintPref(void *Prefstr)
{
return ChrPtr(Prefstr);
}
+#endif
/*
* display preferences dialog
StrBuf *SubBuf = NULL;
Hash = WC->hash_prefs;
+#ifdef DBG_PREFS_HASH
dbg_PrintHash(Hash, PrintPref, NULL);
+#endif
HashPos = GetNewHashPos();
while (GetNextHashPos(Hash, HashPos, &len, &Key, &Value)!=0)
{
int get_PREFERENCE(const char *key, size_t keylen, StrBuf **value)
{
void *hash_value = NULL;
-
+#ifdef DBG_PREFS_HASH
dbg_PrintHash(WC->hash_prefs, PrintPref, NULL);
+#endif
if (GetHash(WC->hash_prefs, key, keylen, &hash_value) == 0) {
*value = NULL;
return 0;