- if (GetHash(XMPP_EndToken, pToken, len, &pv))
- {
- TokenHandler *th;
- void *value;
- long i = 0;
-
- th = (TokenHandler*) pv;
- value = th->GetToken();
-/*
- while (attr[i] != NULL)
- {
-
- if (GetHash(th->Properties, attr[i], strlen(attr[i]), &pv))
- {
- PropertyHandler* ph = pv;
- char *val;
- StrBuf **pVal;
- long len;
-
- len = strlen(attr[i+1]);
- val = value;
- val += ph->offset;
- pVal = (StrBuf**) val;
- if (*pVal != NULL)
- StrBufPlain(*pVal, attr[i+1], len);
- else
- *pVal = NewStrBufPlain(attr[i+1], len);
- }
- i+=2;
- }
-*/