-/*
- * $Id$
- */
#include "sysdep.h"
"Context ICAL",
"Context DavNamespace",
"Context TAB",
+ "Context VCARD",
"Context UNKNOWN"
};
}
}
}
+ FreeStrBuf(&pToken);
+ FreeStrBuf(&Match);
}
else if (strchr(Parm->Start, '&') != NULL)
{
}
}
}
+ FreeStrBuf(&Match);
+ FreeStrBuf(&pToken);
}
else {
if (GetHash(SortHash, SKEY(BSort), &vSortBy) &&
(vSortBy != NULL)) {
SortBy = (SortStruct*)vSortBy;
+ /* first check whether its intended for us... */
+ if ((SortBy->ContextType == It->ContextType)&&
/** Ok, its us, lets see in which direction we should sort... */
- if (havebstr("SortOrder")) {
+ (havebstr("SortOrder"))) {
int SortOrder;
SortOrder = LBSTR("SortOrder");
if (SortOrder != 0)