- if (NTTDumpEnabled)
- {
- HashPos *It;
- StrBuf *NTTDump;
- long len;
- const char *Key;
- void *v;
- NTTDump = NewStrBuf ();
-
- It = GetNewHashPos(nttlist, 0);
- while (GetNextHashPos(nttlist, It, &len, &Key, &v))
- {
- if (StrLength(NTTDump) > 0)
- StrBufAppendBufPlain(NTTDump, HKEY("|"), 0);
- StrBufAppendBuf(NTTDump, (StrBuf*) v, 0);
- }
- DeleteHashPos(&It);
-
- syslog(LOG_DEBUG, "nttlist: Dump: [%d] <%s>\n",
- GetCount(nttlist),
- ChrPtr(NTTDump));
- FreeStrBuf(&NTTDump);
- }