Skip to content

Commit

Permalink
exmdb_provider: remove tagsort analysis code
Browse files Browse the repository at this point in the history
  • Loading branch information
jengelh committed Mar 5, 2023
1 parent 0447186 commit b9bf361
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions exch/emsmdb/fastdownctx_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,8 @@ static bool fxs_tagcmp_rcpt(const TAGGED_PROPVAL &a, const TAGGED_PROPVAL &b)
static void fxs_propsort(FOLDER_CONTENT &fc)
{
auto &p = fc.proplist.ppropval;
if (p != nullptr) {
fprintf(stderr,"\e[1;31mtagcmp_fld before:{");
for(auto i=0U;i<fc.proplist.count;++i)
fprintf(stderr,"%xh,",p[i].proptag);
fprintf(stderr,"}\n\e[0m");
if (p != nullptr)
std::sort(&p[0], &p[fc.proplist.count], fxs_tagcmp_fld);
fprintf(stderr,"\e[1;35mtagcmp_fld after.:{");
for(auto i=0U;i<fc.proplist.count;++i)
fprintf(stderr,"%xh,",p[i].proptag);
fprintf(stderr,"}\n\e[0m");
}
}

void fxs_propsort(MESSAGE_CONTENT &mc)
Expand Down

0 comments on commit b9bf361

Please sign in to comment.