X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fdownloads.c;h=b26666744659a9065660b21eaf00a7ec4b33577f;hb=59d57c03ddbfbb96ae3c5264176e6856b48f3f30;hp=ea6ad4d9b218c5befe7c4233b394106bef2f51c2;hpb=a659ab73f8435b0aadfec50cf711765b0e6684cd;p=citadel.git diff --git a/webcit/downloads.c b/webcit/downloads.c index ea6ad4d9b..b26666744 100644 --- a/webcit/downloads.c +++ b/webcit/downloads.c @@ -211,7 +211,7 @@ HashList* LoadFileList(StrBuf *Target, WCTemplputParams *TP) Put(Files, SKEY(Entry->Filename), Entry, FreeFiles); } SubTP.ContextType = CTX_FILELIST; - SortIt = RetrieveSort(&SubTP, NULL, HKEY("fileunsorted"), 0); + SortIt = RetrieveSort(&SubTP, NULL, 0, HKEY("fileunsorted"), 0); if (SortIt != NULL) SortByPayload(Files, SortIt); else