X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Fserver%2Froom_functions.c;h=e18633a8be79e4d020a688b9a7f4dfee0edd87bc;hb=6957096b74edcaa677c056cff53cdd7e974cc605;hp=67b3e9082943ca78a952b0048e00c6d8fa9a3ff5;hpb=f45364a96d0b8cc0878373c60e4874457c7b6184;p=citadel.git diff --git a/webcit-ng/server/room_functions.c b/webcit-ng/server/room_functions.c index 67b3e9082..e18633a8b 100644 --- a/webcit-ng/server/room_functions.c +++ b/webcit-ng/server/room_functions.c @@ -52,14 +52,14 @@ int match_etags(char *taglist, long msgnum) { for (i = 0; i < num_tags; ++i) { extract_token(tag, taglist, i, ',', sizeof tag); - striplt(tag); + string_trim(tag); char *lq = (strchr(tag, '"')); char *rq = (strrchr(tag, '"')); if (lq < rq) { // has two double quotes strcpy(rq, ""); strcpy(tag, ++lq); } - striplt(tag); + string_trim(tag); if (!strcmp(tag, "*")) { // wildcard match return (1); }