#include "webserver.h"
#include "groupdav.h"
+inline const char *PrintPref(void *Prefstr)
+{
+ return Prefstr;
+}
+
/*
* display preferences dialog
*/
char *Key;
Hash = WC->hash_prefs;
- PrintHash(Hash);
+ PrintHash(Hash, PrintPref, NULL);
HashPos = GetNewHashPos();
while (GetNextHashPos(Hash, HashPos, &len, &Key, (void**)&Value)!=0)
{
void *hash_value = NULL;
strcpy(value, "");
- PrintHash(WC->hash_prefs);
+ PrintHash(WC->hash_prefs, PrintPref, NULL);
if (GetHash(WC->hash_prefs, key, strlen(key), &hash_value) == 0)
return;